Fix devicelock to work with lipstick