Computer
When asked for a code during sign-in or when resetting your password, choose I didn't get a code or I don't have access to them, and then follow the instructions if you don't have an alternative phone number or email address or if you can't get to it.
************** to a human at Microsoft?