When the distance sensor on the upper front part of your phone detects an obstruction, the screen may be locked and auto turns off by itself on version 2021.03.4031 and above in imo voice calls.
To resolve the issue, please remove a colored protective film on the screen or avoid placing the screen close to your ear.
If the problem remains, you can send us your problem feedback with the following details:
Thanks for your attention.