Managing personal Outlook.com account settings, security, and privacy
Hi. I'm Brian and I'll try to help.
The two digit code is if you are using passwordless authentication and have the Outlook Mobile app installed on a device. The Outlook Mobile app detects the login attempt and displays three two-digit codes. You choose the correct one that the login in the web browser is displaying.