For anyone using a phone and doesn't want to mess with settings or can't set a long screen timeout value, the Wakey app works well and can be configured to keep the screen on for just this app. I'm using it with Android 11.