Wait for around 30 minutes, see if you can login then.
After login, check if you've account lockout policy enabled.
Try disabling it, at Local Security Policy (secpol.msc) > Account Policies > Account Lockout Policy > Allow Administrator account lockout.
If issue still persists, you can refer other suggestions in this fix:
https://www.kapilarya.com/fix-the-referenced-account-is-currently-locked-out-in-windows-11
Let me know if this helps!
Note: Included link(s) in this reply refers to a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.