It sounds like you are trying to use account recovery. For information about how to use account recovery when you can’t reset your Apple ID password, click here --> How to use account recovery when you can’t reset your Apple Account password - Apple Support
- "Account recovery is a process designed to get you back into your Apple ID account when you don’t have enough information to reset your password." "If you use two-factor authentication and can’t sign in or reset your password, you can regain access after an account recovery waiting period."
Note that the email address will be the one you provided for your account, so it has to be working. Also check your junk mail folder.
The posts by forum contributor shoeluvr13 at these links provide additional detail about the account recovery process and what to do if you do not receive a text or call: Activation Lockout Issues - Apple Community and How can I reset my Apple Account password? - Apple Community . This thread illustrates the multi-step process My Apple ID is locked, how do I fix it? - Apple Community