A. Change your phone's sleep settings. Go to Settings > Display > Sleep and set it to a longer duration or 'Never' while using the app. B. Use a workout mode that keeps the screen active. Some apps have a 'Workout' mode that prevents the screen from locking.