I have observed that the screen on my MacBook Pro turns off a few seconds after I activate lock screen.

Is there any way to keep the screen of my MacBook Pro on for an unlimited duration of time after I lock the screen? Or at least an hour as a workaround.

  • Thank you, same question. Surprisingly little info out there about this. It seems to turn off after 10 seconds of locking the screen by default. – Matt Feb 14 at 16:24

KeepingYouAwake is a free and open source app that can be used for this purpose.

The intended purpose of this app is to prevent your Mac from going into sleep. You can activate this app from 5/15/30 minutes to 1/2/5 hours to indefinite duration.

Having KeepingYouAwake activated will prevent screen from turning off when lock screen mode is activated.

KeepingYouAwake can be easily installed using Homebrew by running the following command:

brew cask install keepingyouawake

  • 1
    Brilliant! It works! – r_metal Aug 13 '18 at 11:10
  • 1
    Works, thank you! Make sure the cup is lit up (activated), I thought it wasn't working until I clicked on the icon. – Matt Feb 14 at 16:25

I had the same problem, I used the free app Amphetamine from the app store. After installing, I selected the indefinitely option to keep the screen for awake forever. I locked the screen and the screen is still on.

enter image description here

New contributor
Mian Asbat Ahmad is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

You must log in to answer this question.

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