If there is now a 30 day security lockout on your account, there is no native method to bypass that, it is a security measure they have on Microsoft accounts to stop hackers stealing the Microsoft account.
If you drive is encrypted with Bitlocker, if there was any work or school account linked to the PC, try checking that account online to see if the Bitlocker Recovery Key is available there.
If not, the only way to access that device is to create a bootable Windows 11 USB on another working PC and use that to clean install Windows and at the start of the installation, delete all partitions on the drive to remove the encryption, which will sadly result in loss of all data on the drive.