i'm looking for a way where i can use the power button to turn off the screen and activate the swipe lock. If the phone is left untouched/unswiped for 10 mins the password lock should come on.
There is one difference between this and similar posts i have seen, my Phone is encrypted so i cannot turn off the password as part of the method of doing this.
At the moment the power button turns off the screen but can be unlocked at the push of any button which often results in unintended phone calls in my pocket, after a certain amount of time left untouched the password lock kicks in.
I've heard an app called Tasker can do something like this, will it also work with encrypted devices?
All i would need it to do is activate a swipe lock on pressing of the power button
Thanks