Lappy Lock is the new way to secure your Mac while your not around. This companion app works with the Mac App available on the Mac app store now. If the state of your mac changes in anyway, be it the Power, USB getting disconnected or your mac going to sleep you will get a notification.
Getting started couldnt be simpler. You dont even have to log in as Lappy Lock works with iCloud.