Hello I have already looked at these two posts, however they dont do a single thing xD how to lock the android programatically Lock the android device programmatically
However the second link does give errors but i dont know what they are. Thanks all for looking :)