Disable MacBook screen turn off at locked screen

displaymojavesleep-wake

Is it possible to prevent OSX from turning off displays when on the lockscreen? I'll lock my MBP with 2 external monitors, leave for 2-3 minutes, and come back and the monitor will be off. It then takes a bit of time for them to all come back on. I've tried Caffeine but it only appears to work when unlocked.

Best Answer

There is a free and open-source tool named KeepingYouAwake that can be used as per your requirements.

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

Download the latest version here.

or install it via cask:

brew cask install keepingyouawake.

This utility will not harm your Mac because it is based on an official command-line tool by Apple. BUT I cannot guarantee anything, so use this tool AT YOUR OWN RISK.