I was playing around with my Nexus phone last week when I first got it. I was messing the screen sleep settings. I could have sworn there was option either associated with that or somewhere in the settings where it asked you how long it would take for the phone to lock the screen after it went to sleep.
OS = Jelly Bean
OS = Jelly Bean