You can't turn off the proximity sensor on your iPhone, but if it's malfunctioning, try force-restarting your iPhone and ...
Rotating the screen on an iPhone is essential for viewing photos and videos in landscape mode, but sometimes it doesn't work. Here's how to fix it.