Managing personal Outlook.com account settings, security, and privacy
Hi! Sorry to hear about this. It’s possible you’re entering an email with one letter, number, or special character different from what’s registered on the account (this happens a lot), or even a small keyboard/layout difference can cause it.
If you’re stuck at the security-code screen, please click “I don’t have this” (or “I don’t have access to these”) and then choose Use a different verification method to pick any other option that’s available (alternate email, phone/SMS, Authenticator app, etc.).
If none of the listed methods are accessible anymore, the next step is the Microsoft account recovery process.