Hi
I guess it is the local user account you want to lock and not the computer account. Right? Depending on how many users/computers we are talking about, I would prefer to have a central place to store and apply these settings. It could be Active Directory or maybe Microsoft Intune.
However, it is possible to create local password policy on each Windows computes as well:
- Sign in with an administrator account.
- Press Win + R, type
secpol.msc
, press Enter. - Expand Computer Configuration → Windows Settings → Security Settings → Account Policies → Account Lockout Policy.
- Double‑click Account lockout threshold, set it to 3 attempts, and click OK. Windows prompts for the other two settings; common values are:
- Account lockout duration: 30 minutes
- Reset account lockout counter after: 30 minutes
- Click Apply. The change is immediate; no reboot needed.
Make sure your administrator account is not being locked out or set a lockoutduration time, where the lock will automatically be removed again.
Best Regards
Thomas
[Mod Removed - Link]