I've just upgraded to the 2021 Magic Keyboard with Lock Key (A2450). I used to be able to put my iMac's display to sleep using the Control–Shift–Media Eject shortcut. But now I have a Lock key instead of an Eject key. So how would I be able to put my display to sleep using a keyboard shortcut? (Without actually locking it.)


I've been able to put my display to sleep using a hot corner. I'm still looking for a keyboard shortcut, but at least I have something.

  • Did you tried Control-Shift-Command-E ? Never tested but as Command-E do média eject , it may run. But anyway, you can define your own key shortcut on MacOS : Apple menu/System preferences/Keyboard then Shortcuts
    – Ptit Xav
    Aug 30, 2022 at 18:56
  • Good idea, but that shortcut didn't work. I don't think the 'put display to sleep' action is listed in the Keyboard preferences.
    – Daan
    Aug 30, 2022 at 19:09
  • Did you try a long press? Works on the new M1 iMacs
    – Tetsujin
    Aug 30, 2022 at 20:41
  • Long press on which key/shortcut?
    – Daan
    Aug 30, 2022 at 20:42
  • The fingerprint key
    – Tetsujin
    Sep 1, 2022 at 9:22

1 Answer 1


You can use Karabiner-Elements, it's a awesome, free and open source software.

  • In the Preferences of Karabiner-Elements, select "Complex Modifications", click "Add rule" at the bottom, click "Import more rules from the internet (Open a web browser)".
  • In the opened web page, search for "Sleep Monitor" you will find "Add Sleep Monitor for Keyboard without Eject", click "Import" on the right, and "Open Karabiner-Elements.app".
  • When back to Karabiner-Elements, click "Import", and "Enable" the rule.

Then you can try the keys control-command-shift-esc.

There are also a lot of magic rule here.

You must log in to answer this question.

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