1.) To do this, open the local Windows 11 security guidelines!
The best and fastest way is to start the run dialog with the shortcut [Windows logo] + [R]
and enter the command secpol.msc /s!
Now click on Account Policies and Account Blocking Policies!
You now have the following options!
Account lockout threshold
Specifies the number of unsuccessful logon attempts after which a user account is locked under Windows.
Account lockout duration
Specifies how many minutes a locked Windows user account remains locked before the lock is automatically unlocked .
Account Lockout Counter Reset Time
Specifies the number of minutes that must elapse after an unsuccessful login attempt on Windows before the counter for unsuccessful login attempts is reset to 0 invalid login attempts.
(Image-1) Set up user account lock under Windows 11!