[lipstick] fix security hole in devicelock

Fixes this https://together.jolla.com/question/14415/bug-device-passcode-lock-will-sometimes-be-bypassed-when-connecting-to-a-pc-with-usb/