Managing personal Outlook.com account settings, security, and privacy
Sorry to hear that you're experiencing this issue. If the message says that your account has been blocked, please complete the account reinstatement form to request that it be unblocked:
https://www.microsoft.com/digitalsafety/account-reinstatement
If the error message says something different, please share a screenshot of the message (making sure to hide or remove any personal information).