If a security lock is enabled, you can set the delay time after the screen darkens due to inactivity before the screen automatically locks and requires you to enter your unlock sequence.
From the Home screen, touch and hold the Recent Apps Key (in the Touch Keys bar) > Lock screen settings.
Tap Security lock timer, then tap the setting you want to use.