How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (2024)

How-To

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (1)

By Brian Burgess

Updated

When you walk away from your computer, you want to make sure to lock it so other people can’t access your machine and its data. You can, of course, manually lock your Windows 10 PC down by hitting Windows Key + L or Ctrl + Alt + Del. But sometimes you forget. The cool thing is you can make Windows 10 lock automatically after a set time of inactivity. Here is a look at a few ways you can set this up.

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.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (3)

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 set the “Wait” time to however many minutes you want, and click OK.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (4)

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, it’s 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.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (5)

Open Local Policies > Security Options and then scroll down and double-click “Interactive Logon: Machine inactivity limit” from the list.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (6)

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.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (7)

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.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (8)

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.

Important: Remember that tweaking settings in the Registry isn’t for inexperienced users. Changing the wrong thing can take down your whole computer. Before making any tweaks to the Registry, make sure toback it upfirst,create a System Restore Pointand have afull backup image ready if you need to recover your system.

To get started, hit Windows Key + R and type: regedit and click OK or hit Enter to launch the Registry.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (9)

Then head to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

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.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (10)

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.

Click to comment

Leave a Reply

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (11)

Related Items:Microsoft, Security, Windows, Windows 10

Recommended for you

  • Try New Windows Features: Microsoft Announces Windows 11 Preview Build 26227

  • Dealing With a Location Is Not Available Error on Windows

  • What is esif_uf.exe and Why is it running?

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (2024)
Top Articles
Latest Posts
Article information

Author: Jeremiah Abshire

Last Updated:

Views: 6424

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Jeremiah Abshire

Birthday: 1993-09-14

Address: Apt. 425 92748 Jannie Centers, Port Nikitaville, VT 82110

Phone: +8096210939894

Job: Lead Healthcare Manager

Hobby: Watching movies, Watching movies, Knapping, LARPing, Coffee roasting, Lacemaking, Gaming

Introduction: My name is Jeremiah Abshire, I am a outstanding, kind, clever, hilarious, curious, hilarious, outstanding person who loves writing and wants to share my knowledge and understanding with you.