Where can find and extend auto key lock?
Security code Unlock
Try this: Go to Settings > Phone settings > Keyguard settings > Automatic Keyguard, turn it on and set the time.