All posts

Screen and display

Lock Screen Timeout in Windows 11: How to Change It

December 2, 2026

The lock screen timeout in Windows 11 is usually one of two things. If your screen goes black about a minute after you lock the PC, that's a hidden setting called Console lock display off timeout, and you change it with the powercfg command. If your PC locks itself too soon, or not soon enough, that comes from a different set of timers: the screen timeout, sleep, the screen saver or a work policy.

Changing the normal screen timeout in Settings won't fix the first problem. Microsoft says so in its own support article. So start by working out which timer you're actually fighting.

Quick answer

  • Screen turns off about 1 minute after you lock: run powercfg /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 600, then powercfg /setactive SCHEME_CURRENT, in Terminal (Admin). The number is in seconds.
  • PC locks too soon: Windows 11 has no single "lock after X minutes" box. Check the screen and sleep timers, the screen saver's On resume, display logon screen box, Dynamic lock and, on a work PC, your company's policy.
  • Screen turns off while you're still signed in: that's the normal screen timeout in Settings > System > Power & battery. Keep your screen on in Windows 11 covers it.

Which "lock screen timeout" do you mean?

What you see The timer behind it Where to change it
You press Windows key + L, and the screen goes dark about a minute later Console lock display off timeout (default 60 seconds) powercfg, or Power Options once you unhide it
You step away, and the PC is locked when you come back Screen saver with sign-in, sleep, Dynamic lock, presence sensing or a work policy Several places, listed below
The screen turns off while you're still using the PC Screen timeout Settings > System > Power & battery

The first row is what most "lock screen timeout" guides are about. The second is what many people actually mean. The rest of this page covers both.

Change how long the lock screen stays on

Microsoft's support article Monitor powers off when computer is locked calls this behavior by design. When the PC is locked, Windows waits 60 seconds of inactivity, then turns the display off. The setting isn't in the Windows interface by default. The Choose when to turn off the display setting doesn't change it, because that one only applies while you're signed in.

Option 1: set it with powercfg

  1. Right-click Start and choose Terminal (Admin). On some versions it's called Windows Terminal (Admin).

  2. To set the time for when the PC is plugged in, type this and press Enter. Replace 600 with the number of seconds you want, so 600 is 10 minutes:

    powercfg /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 600

  3. For a laptop on battery, run the same command with /setdcvalueindex instead:

    powercfg /setdcvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 300

  4. Apply the change:

    powercfg /setactive SCHEME_CURRENT

  5. Press Windows key + L and wait to check it.

Microsoft's article doesn't list a value for "never." Pick a long time instead of guessing with 0.

Option 2: show it in Power Options

If you'd rather use a menu, you can make the hidden setting appear in Control Panel.

  1. In Terminal (Admin), run:

    powercfg -attributes SUB_VIDEO 8EC4B3A5-6868-48c2-BE75-4F3044BE88A7 -ATTRIB_HIDE

  2. Open Control Panel > Hardware and Sound > Power Options.

  3. Next to your current plan, select Change plan settings, then Change advanced power settings.

  4. Expand Display, then Console lock display off timeout.

  5. Set On battery and Plugged in, then select OK.

To hide the setting again, run the same command with +ATTRIB_HIDE at the end instead of -ATTRIB_HIDE.

Some guides do this by editing the registry instead. The powercfg command is the method Microsoft documents, and it's easier to undo.

If the change doesn't stick

  • You changed only one power source. Microsoft notes that /setacvalueindex sets the plugged-in value only. On a laptop, set the battery value too.
  • You switched power plans. The commands change the current plan only. If you switch plans, run them again.
  • It's a work PC. If power settings are managed by your organization, they can be reset. Ask your IT team.
  • You're changing the wrong timer. If the PC locks too soon, this setting won't help. Read the next section.

Change how soon Windows locks

There's no "lock after 5 minutes" setting on the Settings > Personalization > Lock screen page. That page has your lock screen picture and a link to the screen saver. The lock itself comes from one of these.

The screen saver (the closest thing to a lock timer)

This is the most direct way to say "lock after X minutes of inactivity." Microsoft's steps are in Change your screen saver settings.

  1. Open Settings > Personalization > Lock screen.
  2. Under Related settings, select Screen saver.
  3. Pick a screen saver. Blank just shows black.
  4. Set Wait to the number of minutes you want.
  5. Tick On resume, display logon screen so you need to sign in again, then select OK.

To lock later, raise Wait. To stop the screen saver locking the PC, untick the box or set the screen saver to (None).

Screen timeout and sleep

When the PC goes to sleep, Windows normally asks you to sign in when it wakes. Change the timers in Settings > System > Power & battery > Screen, sleep, & hibernate timeouts. Screen off vs sleep vs hibernate explains what each one does.

Whether you have to sign in again after you've been away is set in Settings > Accounts > Sign-in options, under Additional settings. The choices there vary between Windows 11 versions.

Dynamic lock and presence sensing

  • Dynamic lock locks the PC when your paired phone leaves Bluetooth range. Microsoft says it locks within a minute of that. Turn it on in Settings > Accounts > Sign-in options > Dynamic lock (Microsoft's steps).
  • Presence sensing works only on PCs with a built-in presence sensor. In Settings > System > Power & battery > Screen and sleep, Automatically turn off my screen when I leave turns the screen off when you walk away (Microsoft's page).

If your PC locks at odd moments, check whether either one is on.

Work PCs: the inactivity policy

Companies can set a policy called Interactive logon: Machine inactivity limit. Microsoft's reference page says that, when it's set, the PC locks after that much inactivity. It also locks when the screen saver starts or the display turns off under your power settings.

You can't change this one yourself, and you shouldn't try to get around it. If the time is too short for your work, ask your IT team.

Keep the PC from locking while you're using it

Sometimes the PC isn't idle at all. You're reading a long document, following a recipe or watching a dashboard, but you're not touching the mouse. In that case, the screen timeout is what starts the chain. Stop the display from timing out, and the lock that follows it doesn't happen either.

Keep Screen Awake does that from a browser tab. Pick a time, such as 1 hour, and press Start. It asks the browser for a Screen Wake Lock, so there's nothing to install.

Be clear about its limits:

  • The tab must stay open and visible. If you minimize the browser or switch to another window, the browser can release the lock. The tool shows Interrupted and tries again when you come back.
  • It can't keep the lock screen lit. Once you lock Windows, the tab is hidden, and the Console lock display off timeout above takes over.
  • Work policies win. A machine inactivity limit or managed power settings can still lock or blank the screen.
  • It doesn't stop sleep for other reasons, such as closing the lid.

If the PC's job is to show the time all day, Fullscreen Clock keeps the display on while it's open. For the browser rules in more detail, see how the Screen Wake Lock API works. If the screen still goes dark and you can't tell why, why does my screen keep turning off? goes through every cause.

Questions

Can I set the lock screen timeout to never?

Microsoft's article doesn't give a "never" value for Console lock display off timeout, so set a long time instead. Keep in mind that a lit lock screen uses power and shows the lock screen picture to anyone nearby.

Is there a registry method?

Yes, many guides change a registry value to reveal the setting. The powercfg -attributes command in Option 2 does the same job in one line, and it's the method Microsoft documents.

Why does my PC still lock after I raised the screen timeout?

Something else is locking it: the screen saver with On resume, display logon screen, sleep, Dynamic lock, presence sensing or a work policy. Check each one in the order above.