If a security lock is enabled, tap Security lock timer in the Screen unlock section to set the amount of time before the screen automatically locks due to inactivity.
To adjust the Security lock timer, tap the Menu Key From the Home screen > Settings > Lock screen > Security lock timer. Then select the desired amount.