This app requires your permission to make changes to system settings.
It provides an option to customize the screen lock timeout. Based on your requirements, you can choose to keep screen on always or till a specific duration of inactivity. You can toggle between the initially set timeout through system settings and the timeout chosen through app.
The widget provided with the app can also be used to do the toggle easily.