TechBuzzPro

Why Does My Computer Lock After a Few Minutes? Fix It

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Your computer locks automatically because Windows is set to turn on the lock screen after a period of inactivity. This is usually the screen saver or the “Require sign-in” timeout, and it is controlled in Settings > Accounts > Sign-in options and Settings > Personalization > Lock screen > Screen saver settings. The fix is to set the inactivity timeout to Never or a longer interval, and to make sure the screen saver is not set to resume to the sign-in screen. The exact labels can differ slightly by Windows version, device and region.

What You'll Need

  • Your Windows PC and an account with permission to change settings (a standard user can change their own sign-in options; some policies require an administrator).
  • About five minutes to check the three places that control automatic locking.

Step-by-Step

  1. Open Settings. Press the Windows key, type Settings, and press Enter. Alternatively, press Windows + I.
  2. Check the sign-in requirement timeout. Go to Accounts > Sign-in options. Look for the setting that says “If you've been away, when should Windows require you to sign in again?” and set it to Never. This is the most common cause of a lock after a few minutes. On some builds the option is under “Require sign-in” and may be greyed out if a workplace policy controls it.
  3. Check the screen saver. Go to Personalization > Lock screen and click Screen saver settings (or search for “Change screen saver” in the Start menu). In the Screen Saver Settings window, set Wait to a longer time or choose (None), and clear the checkbox for On resume, display logon screen. Click Apply and OK.
  4. Check the screen and sleep timeout. Go to System > Power & battery (called Power & sleep on some versions). Under Screen and sleep, set “Turn off my screen after” and “Put my device to sleep after” to Never or a longer interval for both “On battery power” and “When plugged in”. A short screen timeout can look like a lock if the sign-in requirement is also on.
  5. Check dynamic lock. In Accounts > Sign-in options, find Dynamic lock and turn off “Allow Windows to automatically lock your device when you're away”. This feature locks the PC when a paired phone moves out of Bluetooth range, which can feel random.
  6. Check for a workplace policy. If the options above are greyed out or keep reverting, the PC may be managed by an organization. Open Settings > Accounts > Access work or school and see whether an account is listed. If it is, contact your IT administrator; local changes will not stick while a policy enforces a timeout.
  7. Restart and test. Restart the computer, sign in, and leave it idle for the length of time that used to trigger the lock. If it stays unlocked, the change worked.

Common Mistakes

  • Changing only the screen saver and not the sign-in timeout. The sign-in timeout is the setting that actually forces a password after inactivity.
  • Setting the screen timeout to Never but leaving “Require sign-in” at a few minutes. The screen stays on, but the session still locks.
  • Forgetting that power settings have separate values for battery and plugged-in. Changing one leaves the other short.
  • Assuming a lock is a virus or a hardware fault. In most cases it is one of the three timeout settings above.
  • Editing settings on a work PC and expecting them to persist. Managed devices reapply policy at sign-in or restart.

Tips

  • If you want security but not constant interruptions, set the sign-in requirement to 15 or 30 minutes rather than Never.
  • Use Settings > Accounts > Sign-in options as your first stop whenever the lock returns; it is the single most likely culprit.
  • On a laptop, check both power plans. A short “on battery” timeout is easy to miss because the PC is usually plugged in when you test.
  • If you share the PC, keep a short lock timeout for security and instead adjust only the screen saver wait time.

Troubleshooting

If the PC still locks after a few minutes, work through these checks in order.

  1. Confirm the change saved. Reopen Accounts > Sign-in options and check that the timeout still shows your new value. If it reverted, a policy or a third-party tool is overriding it.
  2. Look for management software. Open Settings > Accounts > Access work or school. If an organization is listed, the timeout is likely enforced remotely. Ask your administrator rather than fighting the policy.
  3. Check for screen saver leftovers. Some themes and third-party apps install a screen saver that re-enables the logon screen. Open the Screen Saver Settings window again and confirm it is set to (None) or that “On resume, display logon screen” is unchecked.
  4. Run the built-in troubleshooters. Go to Settings > System > Troubleshoot > Other troubleshooters and run the one for power. It can detect and reset inconsistent power settings.
  5. Update Windows. Go to Settings > Windows Update and install any pending updates, then restart. Some builds have had sign-in timeout bugs that updates correct.
  6. Create a test account. If a new local account behaves correctly, the issue is specific to your user profile settings rather than the whole PC.
  7. Last resort: reset. A full reset removes apps and files, so back up first. Only consider it after the steps above fail and you have ruled out workplace management.

Frequently Asked Questions

Why does my computer lock even though the screen saver is off?

The sign-in requirement timeout in Accounts > Sign-in options is separate from the screen saver. Set that timeout to Never or a longer interval.

Will setting the timeout to Never drain my laptop battery?

It can, because the screen stays on longer. If battery life matters, set a longer timeout rather than Never, and keep the sleep timeout short.

Why are the timeout options greyed out?

The PC is probably managed by an organization. Check Settings > Accounts > Access work or school; a listed account means policy controls the setting.

Does this also stop the lock screen picture from showing?

No. The lock screen still appears at startup and when you sign out. These steps only stop the automatic lock after inactivity.

Can a keyboard or mouse cause the lock?

Not directly. A faulty device can wake the PC or trigger sleep, but the lock itself comes from the timeout settings described above.

Is it safe to disable the automatic lock?

It is convenient at home but reduces security in shared or public spaces. A 15–30 minute timeout is a reasonable compromise.