Does anyone have problems with proximity during calls?
I accidentally turn off microphone or touch any buttons with my face...
As I tried there is a 500-1000 ms lag
Assuming you are not covering the sensor with a screen protector or case, do a backup and then a complete reset of the phone. If that doesn't help then it's time to take it to Apple.