How To Lock a Computer Screen?

Are you figuring out how to lock your computer screen? Continue reading to find out how it can be done easily.
How To Lock a Computer Screen?

While laptops can lock the screen by closing the lid, a PC needs to be manually locked. In this article, we will discuss multiple approaches with detailed steps on how you can lock a computer screen on different operating systems.

Lock your Windows Computer Screen

Using Windows Start

  1. Open “Windows Start” by clicking on the “Windows” button on the keyboard. Alternatively, you can also click on the “Windows icon” from the desktop to open “Start.”
  2. After you’re in the “Start,” look for the “Power” icon and click on it to reveal three options, and from which, click on “Sleep” to lock the computer screen.

Using Ctrl+Alt+Delete

  1. On your Windows PC, from your keyboard, press the key combinations “Ctrl+Alt+Del” to open the security options.
Ctrl+Alt+del key com
  1. From the security options, look for the “Lock” option, which successfully locks the screen on your PC.

Using Dynamic Lock

The Dynamic Lock was introduced in the newer version of Windows 10 and has been available on Windows 11 since the first release. This feature works by locking the screen of the PC when the trusted device is away from it.

Sounds interesting? Here is how to set Dynamic Lock on your Windows PC:

  1. Start by clicking the Windows button and navigating to the “Settings” by clicking on the “Gear” icon.
  2. Once you’re in the “Settings,” look for the option “Accounts” and click on it.
  1. After the account-related settings are open, navigate to the “Sign-in options” by clicking on it, which are present on the left side menu.
options
  1. Now scroll down until you find “Dynamic lock,” and check the check box present under it to automatically lock the PC when the device is away.
Dynamic lock

While using this approach to lock the screen on your PC, ensure you connect any trusted device prior. If you haven’t paired yet, open Bluetooth settings and pair your smartphone.

Using Screen Saver

  1. Start by pressing the Windows button to open “Start.” Now type in “Screen Saver” in the search and click on the first result.
Screen saver
  1. After the screen saver settings are open, ensure you check the check box, “On Resume, display logon screen,” and set the wait time of your choice. Once done, click on “OK” and then “Apply.”
Screen saver_lock

Lock your Mac Computer Screen

While there are many ways to lock the Mac computer screen, we have listed the ones that are arguably the easiest and can be followed by any, irrespective of their experience with MacOS.

Using Keyboard Shortcut

  1. Start by closing or minimizing all the applications so you’re on the homescreen/Display.
  2. Now, hold down the “Control” key (Ctrl) and the “Command” key (⌘) simultaneously. While holding these keys, also press the “Q” key.
  1. Ensure you have got the key combination right, as many forget to hit the “Control” button, which can close the applications. However, if done right, your Mac screen will instantly lock.

Using Apple Menu

  1. Begin by moving your cursor to the top-left corner of the screen to click on the “Apple logo.”
Apple Logo
  1. On clicking the Apple logo, you will notice a menu, from which you choose “Lock Screen” and click on it to instantly lock your Mac screen.
Lock screen - Mac

Using Hot Corner

  1. Start by navigating to the top left corner of the desktop to click on the Apple logo. Now, from the menu, click on the “System Preferences.”
System Preferences
  1. After the “System Preferences” window loads, you will find two options: “Desktop” and “Screen Saver.” Click on the “Screen Saver” tab, navigate to the “Hot Corners” present at the bottom right corner, and click on it.
  1. When you’re displayed with a customization window, move your mouse cursor to the corner of your choice, and from the dropdown, choose “Lockscreen.”
Lock screen hot corner
  1. After you’re done with the changes, click on “OK” and head to the empty Mac desktop. Now, if you place the cursor on the hot corner designated to lock the computer, your Mac screen will instantly lock.

Using Terminal

  1. Start by opening the terminal by clicking on the “Launchpad icon” in the Dock and clicking on the “Terminal” listed in the search field.
  1. After the terminal is loaded, type the command – pmset displaysleepnow, and your Mac screen will instantly lock.

Lock your Linux Computer Screen

Before you proceed with the steps, it is important to realize that there are many Linux distributions, and the steps won’t remain the same.

However, you can use the below approaches and references, as we have demonstrated them on the prominent Linux distribution, Ubuntu.

Using the Ubuntu Settings Menu

  1. Start by navigating to the top right corner of the desktop on Ubuntu and click on the dropdown, which is the Ubuntu Settings/Control menu.
  2. From the Ubuntu Settings/Control menu, you will find several options. However, lock for the icons, and once you find the “Gear” icon, click on it to lock your Linux computer screen.
Lock icon - Ubuntu

Using Keyboard Shortcuts

  1. From the home screen/desktop, open the “Application Search Bar,” and type “Keyboard Settings,” and hit enter.
Search bar ubuntu
  1. If the above step doesn’t display the keyboard settings, open settings and navigate to “Devices,” and in its sub-section, click on “Keyboard.”
  2. If you have done it right, you will notice several keyboard shortcuts. If the “Lock” shortcut isn’t among them, create a new one by clicking the “+” button.
Keyboard settings - Ubuntu
  1. After a new keyboard shortcut for the lock is generated, you can use it to lock your Linux computer screen instantly.

Usually, many make mistakes while using key combinations, resulting in different undesirable outcomes. Hence, ensure the keyboard shortcut you create to lock the device must be unique and easy.

Using Command Line

  1. To enter the command, start by opening the terminal by using the key combination – “Ctrl+Alt+T.” Alternatively, you can open it by searching for “Terminal” on the application search menu.
  2. After the terminal is loaded, type the below command to install gnome-screensaver on Ubuntu:
sudo apt-get install gnome-screensaver
  1. During the installation, if you’re displayed with the “Do you want to continue?” message, type “Y” and hit enter.
  2. Once the gnome-screensaver is installed, type in the below command to lock your Linux computer screen instantly:
gnome-screensaver-command –l

Wrapping Up

Congratulations on locking your computer screen, and we hope these approaches felt easy for you.

A few might notice that we haven’t included some approaches for specific platforms that can lock the computer screen, and it is done to make it easier for all readers.

While the above approaches don’t lead to any adverse outcomes, be aware while following the approaches, especially while dealing with terminals.


How to Set or Change a Password in Windows 10?

To set or change a password in Windows 10, go to “Settings” > “Accounts” > “Sign-in options” and select “Password.”

How do I put a lock screen wallpaper on my computer?

To set a lock screen wallpaper on your computer, go to “Settings” > “Personalization” > “Lock screen” and choose a background image.

What to do if my laptop doesn’t sleep after closing the lid?

If your laptop doesn’t sleep after closing the lid, check your power settings in the control panel and make sure it’s set to sleep when the lid is closed.


We will be happy to hear your thoughts

Leave a reply

Enable registration in settings - general