You can't turn off the proximity sensor on your iPhone, but if it's malfunctioning, try force-restarting your iPhone and ...
Tired of your iPhone volume changing on its own? Fix this frustrating issue by disabling these hidden settings.