When the Auto Lock feature is enabled, the user will be prompted to enter their password every time they try to access their computer. The Auto Lock feature uses the Windows Security settings to block access to the computer after a certain period of time when the user has not interacted with the PC. It is a security measure that helps to keep the user’s data safe from unauthorized access. Source: What is Auto Lock in Windows 10?Īuto Lock in Windows 10 is a feature that helps to protect a user’s data by locking their computer after a period of time. In the drop-down menu next to it, select “Never” to turn off the auto-lock feature.Under Privacy, turn off the “Require Sign-in” option.
Open Settings > Accounts > Sign-in options.YMMV.To stop Auto Lock in Windows 10, follow these steps: I'll also note that I created this and then disabled it shortly after, since the added delay from my monitors turning back on just wasn't worth it for me. If you're comfortable installing nircmd (no specific concerns with Nir's work, but I limit downloaded utilities), the PowerShell script can be replaced with nircmd.exe monitor off ( source). E.g.: "C:\Users\MyUser\Documents\Scripts\TurnOffMonitors.ps1". For "Add arguments", enter the quoted string of the PowerShell script path.For "Program/script", enter powershell.Create a new action for "Start a program".Ensure "Any user" is selected for the trigger.Create a new trigger for "On workstation lock".Select "Run only when user is logged on".Provide a task name (e.g., "Turn Off Monitor on Lock").::SendMessage($hWnd, $WM_SYSCOMMAND, $SC_MONITORPOWER, $MonitorOff) $hWnd = ::FindWindow(::Value, "Program Manager") Public static extern int SendMessage(IntPtr hWnd, uint Msg, int wParam, int = 0x0112 Public static extern IntPtr FindWindow(string lpClassName, string lpWindowName) However, I was able to put together a short PowerShell script and Task Scheduler task to handle this. I'm not able to find any way to do this out of the box. I have tried running the power troubleshooter from control panel with no helpful fixes. I have generated an energy report that shows no helpful information by running: powercfg /energy I have confirmed there is no software preventing the screen from turning off: powercfg /requests I have turned off my USB wireless mouse while testing. The only thing close was a question about an apparent bug that was fixed in a later Windows update 1, except that user seemed to want a general idle time applied and I do not.
I could not find any appropriate duplicates of this question. I do not wish to install third party software for a basic Windows setting that I know to work on other systems. Searching for solutions brings suggestions of running task scheduler with a trigger to run third party software that will turn off the screen when the screen is locked. We aren't really expected to run third party software for something like this, are we? I am able to easily set preference in Ubuntu and I'm pretty sure it was set as an option on my laptop. I really can't believe that this isn't an option and feel like I am overlooking something obvious as a user. Update: This doesn't work on my laptop either. When the screen is locked, the display stays on indefinitely. It is not working on a new Windows 10 Pro install on my desktop which is fully updated. The display is turned off after the screen is locked for a minute. I do want the screen to turn off when the screen is locked. I do not want the screen to turn off after a minute when the screen is not locked. I do not want to turn off display based on idle time as the "Power & sleep" settings allow. Is there an option to turn off the display while the screen is locked?