How to lock computer after inactivity in Windows 10

As a security measure, you may want to lock your Windows 10 computer, after a certain period of inactivity, so that when you are away from it, no one will be able to access it – and even you will be able to access it only after you enter your password.


To make your Windows 10 computer ask for a password after a period of inactivity, follow the steps list below:


  1. Open Screen Saver Settings from Run
    Press the Windows key + R to open the Run box. Type the following command and press Enter.
    control desk.cpl,,@screensaver
  2. The Screen Saver Settings box will open.

  3. Here under Waitminutes On resume, display logon screen settings, select the time after which you want Windows to ask for a password, and check the On resume, display logon screen box.
  4. Click on Apply and OK


Additional Information:


If you have set the time at 5, then after 5 minutes of inactivity, you will be asked to enter your password, to be able to access your PC.


If you do not want a screen saver to be displayed, select (None). If you wish to display it, you can select one. This setting is just above the “Wait …” setting.