Fix devicelock to work with lipstick
Merge pull request #6 from rainisto/master

Fix devicelock to work with lipstick