Managing personal Outlook.com account settings, security, and privacy
Hello,
If you have been experiencing this same problem for more than a week, it usually indicates that your account might be blocked.
So, wait for 24 hours first, and make sure you aren't signing in with your account during this period.
After 24 hours have passed, you can try connecting your device to another Wi-Fi network and then reset your password through this link: https://account.live.com/ResetPassword.aspx
If you are still having the same problem, it is recommended to submit the Account Recovery form here:
Remember to use a familiar device from which you've frequently accessed your Microsoft account, as well as a familiar location. Microsoft will review your responses and respond within 24 hours. If you are verified, instructions on how to log back into your account will be sent to you. That is, you will receive a password reset email at your alternate address. You can use that link to reset your password successfully.
Let me know if you still need more help.