Control Panel Session Expiration

Go to System → Settings → System

This value controls time interval in minutes before you will be asked to log in again due to no activity.