When working and needing to step away from your computer briefly, instead of shutting it down which takes time, you can opt for a quick and simple solution: temporarily locking your computer. This method will keep your computer safe from strangers, provided you have set up a password. In this article, TechTips.com will guide you through locking your computer screen with just 1 click or a simple action. Feel free to check it out.

1. Locking your computer with shortcut keys
Locking your computer with shortcut keys is the quickest and most effective method you should use because you can lock the screen at any time.
To lock the screen, simply press the Windows + L key combination as shown below:

Pressing the Windows + L key combination immediately locks your computer screen, allowing you to comfortably attend to other tasks without worrying about others accessing your computer.
2. Locking your computer with just 1 click
Step 1: Right-click on the Desktop and select New -> Shortcut.

Step 2: In the new window, paste the command below into the empty box and click Next.
rundll32.exe user32.dll,LockWorkStation

Step 3: Name your Shortcut, then click Finish.

Now we have an icon for locking as shown below. Just double-click on this icon and your computer screen will be locked immediately.

Additionally, if you find the current icon unattractive, you can switch to another icon using the following method.
First, right-click on the shortcut and select Properties. In the Properties window that appears, choose Change Icon.

Next, select the Icon you prefer and click OK:

Back in the previous window, click OK to save changes, and we have a lock icon that looks quite aesthetic and easy to identify:

Hope these methods above will be helpful for you in quickly and easily locking your computer. Wish you success!