The “Account restrictions” error can be caused by a variety of factors, including misconfigured Group Policy settings or incorrect security policies. Start by disabling any policies that restrict credential delegation or require blank passwords for local logon. More detailed description in https://gridinsoft.com/blogs/account-restrictions-are-preventing-this-user-from-signing-in-fixed/ which is maintained by an experienced employee of one leading company. Here is a step-by-step algorithm of actions and an analysis of the work done.
Most likely, the issue is in the security policy settings or account restrictions on your device. This may be due to administrator rights or local account settings. Try activating the system through third-party tools.
Restart your computer and try logging in again. If you don’t have another administrator account, use the tips on https://kms-full.com/blog/windows-11-os-useful-tips-for-new-users.html to avoid similar situations in the future. They will help you customize your system and avoid many common problems.