Is there a computer Lock/Unlock event?


#1

I thought power-monitor’s suspend and resume events would give me what I want, but they don’t seem to get triggered when the user locks/unlocks/login/logout the computer

Is there a way to detect when this happens?

(only tested on Windows 10)

Cheers
S