Managing personal Outlook.com account settings, security, and privacy
Nathan, launch a web browser in incognito mode, then go to https://account.live.com
Can you sign in there?
If you can, go to Security to review your recent activities.
If you cannot sign in, can you tell what email address it uses to send you the code? I would like to know if you recognize that address, is it your email but the code doesn't arrive, or the email address is someone else's?
If you can provide the answers to all of the questions I asked above, I can guide you to the right process/path for the troubleshooting.