Lock Windows 10 Automatically Using Your Screen Saver
This is probably the simplest method and an old trick. Open Start and type: change screen saver and click on the “Best Match” result.
Next, the Screen Saver Setting windows will come up. Set your screen saver to something from the dropdown list. Personally, I use the “Blank” option. But the important thing to do is make sure to check the “On resume, display logon screen” box and set the “Wait” time to however many minutes you want, and click OK.
That’s all there is to it. After the period of inactivity that you set up, your screen saver will come up and require you to enter your PIN or password to unlock it.
Make Windows 10 Lock Automatically Using SecPol
Now, time to get geekier. If you’re running the Pro version of Windows, you can use the Local Security Policy feature. Hit Windows Key + R and type: secpol.msc and click OK or hit Enter to launch it.
Open Local Policies > Security Options and then scroll down and double-click “Interactive Logon: Machine inactivity limit” from the list.
Enter the amount of time you want Windows 10 to shut down after no activity on the machine. When the Limit Properties window opens, you can type in an inactivity limit between one to 599940 seconds. Keep in mind that the max is 166 hours, and you won’t want the number of seconds too low as it would get annoying to have your PC lock all the time. When you’re finished, you need to sign out of your session or restart your PC for the changes to take place.
When it comes to figuring out the number of seconds to use, here, it’s good to use some time unit conversions with your favorite search engine. For example, 10 minutes would be 600 seconds.
Enable Windows 10 Auto Lock Using the Registry
If you are running Windows 10 Home, you don’t have access to the Local Security Policy tool. However, you can do the same thing by hacking the Registry. But this is a method only experienced users can try. If you’re on Windows 10 Home, you might want to use the Screen Saver trick. To get started, hit Windows Key + R and type: regedit and click OK or hit Enter to launch the Registry.
Then head to the following path: Now create a new 32-bit DWORD Value called InactivityTimeoutSecs and give it a value between 0 or 599940 – again, that is the number of seconds of inactivity you want to pass before locking your system.
Then sign out of your session or restart your PC for the settings to go into effect. If you want to change the time, go back to the InactivityTimeoutSecs key and change it. Whether you go the simple route or get geekier by digging into your system, this is a good thing to have set up if you walk away from your machine and forget to lock it down. You will need to change the time values depending on your situation, but having the auto-lock backup will provide extra peace of mind.