Welcome to Android Central! Is the phone on a tripod? If the screen sleeps, then you won't be able to see what you're shooting, right?
Instead of sleeping the screen, you could consider dimming the screen below the usual lowest setting using an app like
Lux. Be careful that you don't reduce the brightness to absolute zero because then it might be very difficult to see the screen in order to bring the brightness back up again.