Skip to content
Windows 🟡 Intermediate

How to Configure Auto Lock Screen Settings in Windows 11

Richard
Written by
Richard
Updated 8 min read
How to configure auto lock screen settings in Windows 11
How to configure auto lock screen settings in Windows 11
Before you start
  • 36 steps
  • Needs administrator rights
  • Includes a restart or sign-out

Automatic lock screen settings in Windows 11 control how long your PC sits idle before it turns off the display and asks for your password or PIN again. You set the timeout in Settings System Power & battery, and you set the sign-in requirement in Settings Accounts Sign-in options. Together they keep your device secure when you step away.

Three separate settings are involved, and people often mix them up. One is how long the screen stays on. Another is when Windows asks you to sign in again. The third is an optional screen saver that can lock the PC when it ends. This guide covers each one, plus Dynamic Lock and some troubleshooting. To lock the PC by hand at any time, press the Win and L.

⚡ Quick Answer

To set an auto lock screen in Windows 11, open Settings System Power & battery to choose how long the screen stays on when idle. Then open Settings Accounts Sign-in options and set “If you’ve been away, when should Windows require you to sign in again?” to anything other than Never. The change applies immediately.

Advertisement

Using the Settings App to Manage Inactivity Timeouts

The Settings app is the quickest way to control how long your PC waits before turning off the display, and it is also where you decide whether Windows asks for your password afterwards. This works the same on Home and Pro. These steps set up an auto lock screen by blanking the display after a set idle time and requiring sign-in when you return.

  1. Open Settings. Press the Win and I together. The Settings window appears.
Windows 11 Start menu with Settings gear icon highlighted.
Windows 11 Start menu with Settings gear icon highlighted.
  1. Select System. It is in the left-hand menu.
  2. Click Power & battery. You should now see the power options for your device.
Windows 11 Power & battery settings in the Settings app.
Windows 11 Power & battery settings in the Settings app.
  1. Expand the Screen and sleep section. The timers appear below it. On some newer builds this section is called Screen, sleep, & hibernate timeouts. It is the same list of timers.
  1. Choose a time from each drop-down menu. Use the battery option for when the PC runs on battery and the plugged-in option for when it is on mains power. The screen option blanks the display. The sleep option is a separate timer.
  2. Select Accounts. It is in the left-hand menu of Settings.
  3. Click Sign-in options. The sign-in settings for your account open.
Settings › Accounts › Sign-in options
Settings › Accounts › Sign-in options
  1. Find the setting labeled If you’ve been away, when should Windows require you to sign in again? It is near the top of the page.
  2. Open the drop-down menu. A list of choices appears.
  3. Select an option other than Never. Windows now asks you to sign in again after the display blanks or the PC wakes.

Desktop PCs have no battery, so you will only see the plugged-in options. The screen timeout takes effect immediately and no restart is needed. To undo it, return to Power & battery and pick the old values.

Advertisement
📝Good to KnowThe sign-in choices depend on your Windows 11 version and hardware.

On many current builds you only get Never and When PC wakes up from sleep, rather than a list of minutes. If you want a PC that locks itself, do not pick Never. If the setting is missing, your device may not support sleep, or your organization may manage it through policy.

Configuring Screen Saver Security via Control Panel

A screen saver gives you another way to lock an idle PC. Windows shows the screen saver after a set idle time and then asks for your login when you come back. The setting is in the classic Control Panel. It is useful when you want a fixed idle time that is separate from the power timers above.

  1. Open the Start menu and type control panel.
  2. Press Enter. Control Panel opens.
  3. Select Appearance and Personalization. The Personalization options are listed under it.
  4. Click Personalization. Look for the Screen Saver link at the bottom right and choose it. The Screen Saver Settings window opens.
Settings › Personalization › Lock screen
Settings › Personalization › Lock screen
  1. Pick a screen saver from the drop-down menu. Choose None if you do not want an animation.
  2. Enter the idle time, in minutes, in the Wait box. This is how long the PC sits idle before the screen saver starts.
  3. Tick the box next to On resume, display logon screen. This is what makes Windows ask for your login.
  4. Click Apply. The settings are saved to your account.
  5. Click OK. The window closes.

On some Windows 11 builds, the Personalization link in Control Panel opens the Settings app instead. If that happens, go to Settings Personalization Lock screen and look for the Screen saver link there. It leads to the same window.

Choosing None is fine. The On resume, display logon screen box still works with it, as long as a wait time is set. To undo the change, untick the box and click Apply.

Deploying Registry Adjustments for Automated Lockouts

The Registry Editor lets you enforce an inactivity timeout at a deeper level. Use it only if the Settings app does not give you what you need. It is also the route for Home editions, where the Group Policy tools are not available.

⚠️WarningThis step is risky or hard to undo. Modify the registry with extreme care, as incorrect changes can cause system instability. Before you start, back up the registry: in Registry Editor, click File > Export and save a copy. You will need an administrator account, and you may see a User Account Control prompt.
  1. Press the Win and R. The Run dialog box opens.
  2. Type regedit and press Enter. Registry Editor starts.
  3. Click Yes if a prompt appears. This is the User Account Control prompt.
  4. Go to the following path using the left sidebar: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lock Screen
  5. Right-click an empty space in the right pane. A context menu appears.
  6. Select New, and choose DWORD (32-bit) Value. A new value appears with its name highlighted.
  7. Name the new value NoLockScreen. Press Enter to confirm the name.
  8. Double-click the new value and enter the data that matches your requirements.
  9. Click OK. The value is saved.
  10. Restart your computer. The change only takes effect after a restart.

To undo the change, delete the value you created, or double-click your exported .reg backup to restore the old state. Restart again afterwards.

Advertisement

Utilizing Dynamic Lock for Proximity-Based Security

Dynamic Lock locks your PC when you walk away with your paired smartphone. Windows watches the Bluetooth connection, and once the phone moves out of range it locks the device. This only locks the PC. It does not unlock it when you come back. It also needs a Bluetooth adapter in your PC.

  1. Turn on Bluetooth on your PC and your phone. Keep the phone’s Bluetooth on from now on, or Dynamic Lock will not work.
  2. Pair your smartphone with your computer. Use the Bluetooth settings on the PC and confirm the pairing on the phone.
  3. Open Settings. Press the Win and I together.
  4. Select Accounts. It is in the left-hand menu.
  5. Click Sign-in options. The sign-in settings open.
  6. Scroll down to the Dynamic lock section. It is further down the page, below the sign-in methods.
  7. Tick the box labeled Allow Windows to automatically lock your device when you’re away. On some builds the wording is slightly different, but it is the only checkbox in that section.

Windows locks the PC shortly after the phone drops out of Bluetooth range, usually within about a minute. If the Dynamic lock section is missing or the box is greyed out, check that the phone is paired and connected and that the PC has Bluetooth. To turn the feature off, untick the box.

If this didn’t work

If your PC does not lock when it should, work through these checks in order:

  • Install pending updates. Open Settings Windows Update, install anything waiting, and restart. Lock screen bugs are often fixed in cumulative updates.
  • Scan for corrupted system files. Damaged system files can stop the lock screen from working. Run the built-in System File Checker and let it repair what it finds. Restart afterwards and test the lock again.
  • Review your settings. Check that the sign-in setting under Accounts Sign-in options is not set to Never. Also check that the screen saver box is ticked if you rely on it, and that the screen timeout is not set to a very long time.
  • Check for apps keeping the PC awake. Video players, presentation software and remote tools can stop the idle timer from running out. Close them or pause playback, then wait and see whether the PC locks.
  • Look for Group Policy or work restrictions. On a work or school PC, your organization’s policies can override your local settings. A message such as “Some settings are managed by your organization” is a sign of this. Ask your IT team, because you cannot fix it from your own account.

Frequently asked questions

How to autolock screen?

Windows locks automatically when the screen turns off and your PC is set to ask for sign-in again. To change when this happens, open Settings, go to Accounts, select Sign-in options, and pick a time under the setting for when Windows should require you to sign in again. To lock right now, press the Win and L.

How to change Windows auto screen lock settings?

Open Settings and select System, then Power & battery, to set how long the screen stays on before it turns off. For the sign-in requirement, go to Accounts, then Sign-in options. For a screen saver that locks the PC, open Personalization, select Lock screen, then choose Screen saver settings.

Where in win11 the time for lockiong screen is set up?

The screen-off timer is in Settings under System, then Power & battery, in the Screen and sleep section. You can set one time for when the PC is plugged in and another for battery power. The time before Windows asks for your password or PIN is set in Accounts, then Sign-in options.

How do I increase time until lock screen on 🪟 Windows 11?

Open Settings, select System, then Power & battery. Under Screen and sleep, choose a longer time next to the plugged-in and battery options for turning off the screen. A longer timeout uses more battery on a laptop, so you may want a shorter time when you are not plugged in.

Still have a question?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *