How to lock screen, but not go to sleep on iMac (10.15 Catalina)
Hi,
I'd like to lock the screen (and also switch if off, if possible), but still have macOS and applications running. For some reason - whatever I try - the system goes to sleep.
I've tried using Terminal and power management settings (pmset), but no luck.
System-wide power settings:
SleepDisabled 1
Currently in use:
standby 1
Sleep On Power Button 1
womp 1
halfdim 1
hibernatefile /var/vm/sleepimage
proximitywake 1
powernap 1
gpuswitch 2
networkoversleep 0
autorestart 0
standbydelayhigh 86400
sleep 0 (sleep prevented by coreaudiod, coreaudiod, coreaudiod)
hibernatemode 3
disksleep 0
ttyskeepawake 1
displaysleep 3
tcpkeepalive 1
highstandbythreshold 50
standbydelaylow 86400
So the system and disk should never go to sleep, whilst the display should sleep after 3 minutes, but no luck.
The display does go off after 3 minutes, but then the system follows regardless of the pmset values and Energy Saver settings, where the option "Prevent computer from sleeping automatically when the display is off" is also selected.
Thanks.
iMac 27″, macOS 10.15