You can change your phone's auto-lock setting to "Never" so that your phone won’t go to sleep during this activity. Here's how:
iPhone:
- Go to Settings.
- Go to Display & Brightness.
- Tap on "Auto-Lock."
- Select "Never."
Android:
- Go to Settings.
- Go to Display & Touch.
- Tap on 30 minutes (or the maximum time option).
.