Desktop app: Clock out or start break when desktop locks/sleeps