Screen and Lockscreen Off Delay

view story

http://androidforums.com – Is it possible to have the screen stay on until I manually press the power button while unlocked, but sleep after a set time while locked? For example if I just press the power button and check the time, or it is accidentally pressed in my pocket, the screen will automatically turn off soon. However, if I wake up and unlock my phone, the screen will stay on until I press the button. (General)