How to Lock Windows 10 if Someone Tries to Guess Your Password

If someone attempts to guess your password on Windows 10, it can pose a serious security risk. Fortunately, Windows offers several built-in methods to protect against unauthorized access. In this guide, we’ll walk you through setting up automatic lockouts after multiple failed login attempts.

1. Setting Up Lockout Using Group Policy

This method is available only on Windows 10 Pro and Enterprise editions. Group Policy allows you to configure limits on the number of failed password attempts before the system temporarily locks.

  1. Press Win + R and type gpedit.msc to open the Group Policy Editor.
  2. Navigate to Computer Configuration → Windows Settings → Security Settings → Account Policies → Account Lockout Policy.
  3. Double-click “Account lockout threshold”.
  4. Set the number of failed login attempts before the account is locked (recommended 3-5 attempts).
  5. Configure Reset account lockout counter after and Account lockout duration for added security.

2. Using Local Security Policy

The Local Security Policy also lets you set lockout parameters after multiple failed login attempts. This method is similar to the first but is accessible to a broader range of users.

  1. Open Control Panel and go to Administrative Tools → Local Security Policy.
  2. Find the Account Lockout Policy section and configure settings such as Account lockout threshold to limit password attempts.

3. Setting up PIN or Biometric Authentication

To enhance security and reduce the risk of unauthorized access, it’s recommended to set up additional login methods like a PIN or Windows Hello (face or fingerprint recognition). These methods allow you to limit login attempts and improve security.

  1. Open Settings → Accounts → Sign-in options.
  2. Select Windows Hello Face or Windows Hello Fingerprint (if supported by your device) or set up a PIN.