I am hoping to create an app that could automatically enable the device Passcode lock screen under certain conditions.
From google around it sounds like this may not be possible, though I never came upon a remark about "programmatically influencing Passcode" explicitly.
Could someone please confirm it if this is impossible or point me in the right direction for how this might be done if it is indeed possible?