How to Lock Keyboard on Mac

Locking your Mac keyboard can prevent you from any accidents, as you don’t want to worry about accidentally type anything or kids touching your keyboard while working on your Mac computer.

Imagine if you are working on any document, you might type any unwanted message or you might close your document accidentally by wiping your Mac keyboard, and you don’t want that right? Instead, what you can do is lock your Mac keyboard.

Locking your keyboard is might be new to some Mac users and might be tricky to use for some people. To lock your keyboard, you have to use a third-party app. If you don’t know how to lock your Mac keyboards and want to learn how to, then this guide is for you.

Why Should I Lock my Mac Keyboard?

If you are working on some important document in a public place, you don’t want anyone to use your keyboard and type any unwanted things when you are away. Or if you have pets or kids, they sometimes come and may sit on your keyboard, might also delete or quit your important data or file you are working on. Or in general, if you don’t use your keyboard, then you can definitely lock it to prevent any accidental typing.

So, if you are the one who also wants to lock your keyboard. Then, you are at the right place. I am going to show you how you can lock your keyboard using some keyboard shortcuts and third-party apps. Let’s get into it.

You May Like:-  [SOLVED] MacOS Big Sur Installation Failed Issues

How to Lock a MacBook Keyboard:

How to Lock your Entire Mac computer:

If you want to lock your keyboard without using any third-party apps, then the only thing you can do is, to lock your entire computer. Or you can also put your Mac to sleep mode. Here are some shortcuts to do that:

  • The easiest thing you can do is, shut the lid of your Mac.
  • Use Control + Shift + Power Button to lock your Mac.
  • Or you can press Option + Command + Power Button to put your Mac to sleep.
  • Select Sleep option from the Apple menu.

You can use any of the above-given options or shortcuts to lock your Mac. As these options will not only lock your Mac but also lock your keyboard. So, you don’t have to stress about anyone using your keyboard while you are away. You can also just shut the lid of your Mac without using any of the shortcut keys. However, it will entirely close your Mac, so you can’t use it.

How to lock a keyboard Using Third-Party Apps:

Now, if you don’t want to Lock the entire Mac computer or disable the screen. You can also use third-party apps to lock your Mac keyboard. Sometimes Third-party apps can help you to solve any problems which you can solve just by your Mac keyboard shortcuts. There are many third-party apps available in the market like Karabiner Element, Lockey, and Keyboard Locker that will help you lock your Mac keyboard even without locking your entire computer, and you can even watch any movies or perform other tasks that do not require a keyboard.

You May Like:-  How to Print a Large Image on Multiple Pages on Mac

It turns out that some of the third-party apps can’t able to lock the keyboard because of the Mac system updates. So, if you use any of the apps and you can’t lock your keyboard means you can’t use it and have to find a new one. One popular third-party app that everybody uses is called Karabiner Element, it is a safe and secure app that helps you lock your keyboard. However, you can use any other third-party apps that you know are safe and you want to use. Following are the steps to lock your keyboard with the help of Karabiner Element:

  1. Firstly, download the Karabiner Element app.
  2. Open the downloaded Karabiner Element app.
  3. Type disable into the search box.
  4. Click on the box that corresponds to the internal keyboard.

How to use Mac while the keyboard is locked:

You must be thinking, what if I want to use my Mac even when the keyboard is locked, can we do that? Yes, you can use Mac while the keyboard is locked. Follow the steps to do that:

  1. Open the System Preferences.
  2. Click on the Accessibility icon.
  3. Click on the top right Options button.
  4. Tick the box to create a checkmark next to the “Ignore Built-in Trackpad When Mouse Keys is On” option.
  5. Hit OK.
  6. Finally, close the System Preferences.
You May Like:-  3 Simple Ways to Convert HEIC to JPG on Mac


Locking your keyboard is very important, as it allows your Mac keyboard to prevent any accidental or unwanted typing from you or by pets or kids. It might ruin all the work you have put in hours of time. But, with the help of a third-party app, you don’t have to worry about it anymore. Just start to use any third-party app, lock your keyboard, and you are good. You can even leave open your work when you are not around without any problem. If you don’t know any apps, you can use the Karabiner Element app to lock your Mac keyboard. I have also explained how to use this app in this guide. I hope, now you can lock your keyboard anytime without any problem.