Implemented passcode lock screen feature

I'd push some improvements  and maybe tests soon.