Hello, I’m Virginia a fellow Windows user.
Unfortunately we have no access to accounts.
Your only option is to sign in with one of the backup/recovery codes shown during setup.
Have you tried restarting the phone?
Is the code received via email or text? If email then have you checked the account online to see if it’s under the spam folder? Also check that you haven’t added Microsoft to the blocked sender’s list.
If via text then check that Microsoft hasn’t been added to the blocked sender’s list.
Once account can be accessed I’d add a secondary recovery option - perhaps MS Authenticator app.