You can't turn off the proximity sensor on your iPhone, but if it's malfunctioning, try force-restarting your iPhone and ...
You can fix a disappearing Dock on your Mac computer through a few different troubleshooting methods.
If you want to fix the SOS displaying on your phone, here's what to do. But the issue may lie with your carrier.