Tokenlock - https://itunes.apple.com/us... TokenLock monitors your phone, any bluetooth device, any USB device or your Apple IR Remote. When they are disconnected or out of range it locks your Mac. It can also unlock your Mac when they are reconnected or come back in range.
Activator - https://rpetri.ch/ First and foremost, the new Activator beta now allows users to specify the sequence of actions, and even establish delays in between each action. That means that, for example, you could set up an action sequence to Lock the screen after a specific amount of time elapsed. You can also schedule delays to occur between multiple actions.