How to Stop Your Computer from Locking (Windows 11 & 10)

By default Windows locks your PC when it goes to sleep or after the screen saver, so you have to sign in again. Here is how to stop your computer from locking automatically on Windows 11 and Windows 10. There are up to four settings that can lock it, so check each one.

Stop computer from locking in Windows

1. Don’t ask for sign-in after you’ve been away

  • Open Settings (press Windows + I).
  • Go to Accounts → Sign-in options.
  • Under Additional settings, set “If you’ve been away, when should Windows require you to sign in again?” to Never.

This is the main setting. If it’s greyed out, your PC may be managed by your work or school, or Windows Hello may need the option set differently – see Common problems below.

2. Turn off Dynamic Lock

Dynamic Lock locks the PC when your paired phone goes out of Bluetooth range. In Settings → Accounts → Sign-in options → Dynamic lock, untick Allow Windows to automatically lock your device when you’re away.

3. Stop the screen saver from locking

  • Search the Start menu for Change screen saver and open it.
  • Untick On resume, display logon screen.
  • Click Apply, then OK.

4. Change when the screen turns off and the PC sleeps

If you also want the screen to stay on:

  • Windows 11: Settings → System → Power & battery (or Power) → Screen, sleep & hibernate timeouts.
  • Windows 10: Settings → System → Power & sleep.
  • Set the screen and sleep times to a longer time or Never. On a laptop, set them separately for battery and plugged in.

Should you turn off the lock?

Only on a PC that nobody else can reach – for example at home. On a laptop you carry around, or in an office, an automatic lock protects your files and accounts if you walk away. A middle ground is to keep the lock on and press Windows + L yourself when you leave.

Common problems

ProblemFix
The “If you’ve been away” option is greyed outYour organization may control it with a policy. Otherwise, the option only appears when your account has a password or PIN; with Windows Hello some choices may be hidden.
It still locks after a few minutesCheck the screen saver setting (step 3) and Dynamic Lock (step 2).
The PC locks on a work laptopCompany policies usually force a lock time. Ask your IT team; don’t try to bypass it.

FAQ

How do I lock my PC quickly?

Press Windows + L.

Does this work on Windows 10 too?

Yes. The settings have the same names; only the power settings page is slightly different (step 4).

More Windows guides

WhatsApp us📞 Call now