Understanding the various ways on how to lock your Windows 10 PC protects it from unauthorized use when you need to step away from the PC, and don’t want to sign out or shut down. So let me show you how to lock your Windows 10 PC in different ways.
Different Ways on How to Lock Your Windows 10 PC
How to Lock Your Windows 10 PC Using Lock Computer in Ctrl+Alt+Del options
Step 1: Hold Ctrl and Alt, then press Delete. After options appear on the screen, select Lock from the options.
How to Lock Your Windows 10 PC Using Lock Computer on Screen Saver Settings
Step 1: Input lock computer in the search box and choose Lock the computer when I leave it alone for a period of time.
Step 2: In the Screen Saver Settings dialog, choose On resume, display logon screen and hit OK.
How to Lock Your Windows 10 PC Using Lock Via the User Icon to Lock Computer
Step 1: Open the Start Menu, click/tap on your user name, and click/tap on Lock.
How to Lock Your Windows 10 PC Using Lock Using Windows Key+L
Step 1: Hold down Windows Key and press L for a quicker way of locking your screen.
How to Lock Your Windows 10 PC Using the Lock Computer from Task Manager
Step 1: Type task manager in the search box.
Step 2: Enter the Task Manager, click on the Users tab.
Step 3: Right click your account, and click/tap on Disconnect.
Step 4: Click on Disconnect user to confirm.
How to Lock Your Windows 10 PC Using Command Prompt
Step 1: Open the Command Prompt on your PC by opening the “Start” menu, typing “cmd” in the Windows Search bar, and then selecting “Command Prompt” from the search results
Command Prompt will now open. Here, run this command to lock your Windows 10 PC.
Step 2: Type Rundll32.exe user32.dll,LockWorkStation in the Command Prompt window and press Enter.
How to Lock Your Windows 10 PC By Using Run Window to Lock Computer
Step 1: Press Windows+R key to open Run command box.
Step 2: In the Run dialog box, type rundll32.exe user32.dll,LockWorkStation and then press Enter key to lock computer.
How to Lock Your Windows 10 PC Using Control Panel through the Settings Panel
Step 1: Right-click any blank area of the Desktop. Select New > Shortcut.
Step 2: For the location of the item type C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation and click Next.
Step 3: Give the icon a name, like Lock computer, then click Finish.
Step 4: Now you have a Screen Lock icon, you can double-click whenever you want to lock your computer.
Once one of them are executed, your PC will be locked. You’ll have to sign back in with your PIN or password, or whatever sign-in method you usually use.
How to Set the Lock Screen Timeout Setting Using Command Prompt
Once you’ve locked your PC, the lock screen will generally be displayed for a certain amount of time before it time outs. You can set the amount of time that needs to pass before timing out using the Command Prompt.
To do this, you’ll need to open Command Prompt as an administrator. Do so by typing “cmd” in the Windows Search bar and then right-clicking “Command Prompt” from the results. Next, select “Run As Administrator” from the menu that appears.
With Command Prompt open, run this command.
powercfg.exe /SETACVALUEINDEX SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK <time>
Replace <time> with your desired amount of time in seconds. That means if you want to time out the lock screen after two minutes, you’d enter this command:
powercfg.exe /SETACVALUEINDEX SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 120
Note: This command sets the lock screen timeout setting for your PC if it’s plugged up to a power source. To set the lock screen timeout setting for your PC if it’s running on battery, change /SETACVALUEINDEX to /SETDCVALUEINDEX and run the command as normal.
Next, run this command:
powercfg.exe /SETACTIVE SCHEME_CURRENT
Now your lock screen will timeout after the set amount of time. Give it a try!
One of the first rules of cyber security is to always lock your PC before stepping away. While it may not be the quickest way to lock your Windows 10 PC, you can do these by using the different ways on how to lock your Windows 10 PC listed above.