How can I re-enable my keyguard? When I first got my Droid Bionic, if I pressed the power button on the top it would lock the screen; pressing it again would display the keyguard, requiring me to slide to unlock. I had it configured so that if I pressed the power button in less than 5 minutes from the time the screen went off, I got the keygoard and then was able to use my phone. If I pressed the power button after 5 minutes past when the screen turned off, I had to enter my PIN.

On my new Samsung Galaxy SIII, the behavior is not the same. It's acting like my Bionic did for a short period, which was resolved by updating the Bionic to Android v1.4.2: If I press the power button less than 5 minutes after the screen turns off, then I am right into the phone, with no keyguard and susceptible to pocket dialing or deleting.

The behavior I want is:


Power button turns the screen off
If the screen is off for less than 5 minutes, power button activates the "swipe to unlock" screen
If the screen is off for more than 5 minutes, power button requires a PIN to access the phone
If the screen is off, something should be required to get back into the phone, either "swipe to unlock" or a PIN. I should never be able to get back to the last app/homescreen without doing one or the other (or both) to prevent pocket dials or accidental UI actions.


Settings I currently have set under Settings > Lock Screen:


Screen Lock: Secured with PIN
With Swipe Lock: Enabled
Lock Automatically: 5 Minutes
Lock instantly with power key: Off (On requires PIN immediately after power key. I want the swipe, and PIN after 5 minutes)


How can I restore the functionality where the keyguard (swipe to unlock) activates instantly but the PIN lock activates only after 5 minutes?
This function is also referred to as the "keyguard." Most of the phones that I have had do not allow you to toggle this on and off in the settings.  Clearly something, possibly another app, toggled this off.  I use Tasker to manipulate this setting.  You may need to be rooted to do this but you can enable or disable they keyguard manually or programatically.  There are also third party apps for toggling the keyguard.  They are usually advertised as ways to disable the keyguard but they slice both ways.  Depending on what disabled your keyguard in the first place, you may only need to use this solution once.