You can't turn off the proximity sensor on your iPhone, but if it's malfunctioning, try force-restarting your iPhone and ...
Get practical TPMS troubleshooting tips to diagnose sensor faults, flashing lights, and wiring issues quickly and accurately.