I bought a magic keyboard for my MacBook (to use with a stand). They now have lock key in the top right corner instead of Touch ID - if you press it it logs you out.

It's positioned so I accidentally hit it while doing work and get logged out. Also it's pretty useless.

Is there any way to make it dysfunctional other than using key-logging software like Karabiner? System Preferences > Keyboard > Modifier Keys don't have that option.

  • You should have been sent a TouchID keyboard with an M1 iMac. How come you got the old Intel-compatible one instead?
    – Tetsujin
    Sep 9, 2021 at 9:22
  • I ordered another one in different language.
    – user655588
    Sep 9, 2021 at 9:45
  • Not having access to a keyboard like this, some suggestions: Have you tried if you can re-assign a function for this key? Maybe a new macro will do the trick? Have you tried Keyboard Maestro (keyboardmaestro.com) or another macro app to reprogram the Lock key? Have you tried System Preferences > Keyboard > Modifier Keys > [The key you want] > No Action? Sep 9, 2021 at 11:33
  • I know about the option but I'd rather try another fix if it exists. Not very keen on buying a product just to fix one key, unless it's absolutely last option.
    – user655588
    Sep 13, 2021 at 16:45

3 Answers 3


in my case i didnot find any way in any where , in following i show how disable it physicallyenter image description here

  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. To get notified when this question gets new answers, you can follow this question. You can also add a bounty to draw more attention to this question. - From Review
    – IconDaemon
    Jan 9, 2022 at 16:15
  • 1
    there is not any answer other than this Jan 10, 2022 at 7:01
  • 2
    Well ... if that is chewing gum, it started off as software, morphed to firmware, then solidified into hardware. You gotta do what you gotta do.
    – IconDaemon
    Feb 8, 2022 at 22:13
  • 1
    I would file this under the category of "field engineering"
    – pwbred
    Nov 21, 2022 at 15:38
  • 1
    Haha really funny but it seems to actually work except if you're someone smashing the keyboard :)
    – Thinkr
    Apr 19, 2023 at 5:16

You can use Karabiner Elements to change the function of this key. Choose Magic Keyboard with Touch ID (Apple) as your Target device. Then you can change the Touch ID on the Magic Keyboard key to something else. I chose Esc.

  • 2
    Worked as expected. Personally, had to select "Lock key on Magic Keyboard without Touchbar" for it to work. Apr 26, 2022 at 19:18

The question is "is there any way to make it dysfunctional?"

I snipped a piece off the end of a twist-tie and jammed it under the outside corner of the key. It's dysfunctional. Pull it out, and the key works again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .