I had the same issue recently, it seems the proximity sensor doesn't work properly and it always see there is something near the phone. During the phone call, this will automatically turn off the screen.
I work around this using the app named "Proximity Screen Off Lite" https://forums.androidcentral.com/e...ils?id=com.itsme4ucz.screenoff&token=3sr8Lo0j
I configure the app as below.
1. Screen On/Off Modes
Check "Cover and hold to turn on Screen"
Timeout: 1 second
Check "Disable Accidentla Lock"
Timeout: 4 seconds
2. All settings
Check "Disable in Lanscape"
Check "Lock phone on screen ON"
3. [Advanced] Configure Sensore
Select sensor: Proximity sensor
Value when sensor covered: 0
Value when sensor un-covered: 1
Turn on the service and enjoy your phone calls.
Hope it help.