How to Create a Desktop Shortcut to Lock Windows 10

There are many ways to lock your Windows 10 PC one of which is the use of a desktop icon. Here’s how to make one.

There are several different ways you can lock your PC. Including the Windows Key + L keyboard shortcut. But did you know you can also create a desktop shortcut to click on that will lock your system? This can come in handy when they keyboard stops working and only the mouse or trackpad work. Or, perhaps you just prefer to have a shortcut on your desktop to lock the PC. Whatever the reason, here’s how to do it.

Create Shortcut to Lock Windows 10 PC

To get started creating your shortcut, right-click an empty area on the desktop and choose New > Shortcut.

That opens up the “Create Shortcut” dialog window. In the “Type the location of the item” field enter the following and click the Next button.

Rundll32.exe user32.dll,LockWorkStation

Next, give your new shortcut a name that will help you remember what the shortcut is for. Type in the name in the “Type a name for this shortcut” field. Something like “Lock PC” and click the Finish button.

That will create the shortcut on your desktop and when you click on it it will lock your PC. The desktop shortcut looks generic and bland so we will give it something else for an icon. Right-click the shortcut and choose Properties.

Then under the Shortcut tab click the Change Icon button.

Next, browse to the location of the desktop icon you want to use. Select it and click OK. Then click OK again to close out of the shortcut properties window.

That’s all there is to it. Now you have a working desktop shortcut for locking your PC. Just double click on it when you want to lock your system down.

Make sure to lock your PC any time you are away from it so prying eyes don’t see what you’re up to or worse yet mess with any of your settings.

To Top