A. To prevent your iPhone from locking during video calls, go to Settings > Display & Brightness > Auto-Lock and set it to 'Never' while you are on a call. Remember to change it back after your call to save battery life.
B. You can also keep the screen active by tapping the screen occasionally during the call to prevent it from locking.