Always lock device on shutdown