Shoulder pain prevents bench pressing and dipping. Can overhead press, upright row, lateral raise without pain. The pain feels deep in the shoulder.

Orthopedic surgeon. You may have to curtail your weight lifting in order to allow possible sprain of the shoulder to heal. See an orthopedic surgeon if symptoms persist or worsen as there could be deeper shoulder injury like rotator cuff tears present.