When I was in my mid 20's I had a reconstruction procedure done on my right shoulder to stop a recurrent dislocation problem. Surgeon moved a bone and some muscles around. That was a long time ago, there was no concept of physical therapy done. In my mid 40's, the same shoulder had to have a partial replacement (head of my humorous was replaced). That was due to really bad arthritis, presumed to be related to the surgery done in my 20's. Again, there was no real physical therapy.
In my mid 50's, I had partial replacement on my left shoulder. That was done by a different surgeon and a, significantly better, physical therapist.
Final result, left shoulder is awesome, no problems at all. Right shoulder, is a different story. Limited range of motion and I have to be pretty cautions in certain circumstances. I can't hang on my right arm but my left arm is no issue.
Recommendation: Make sure to get a good physical therapist and do everything correctly. I was spending about an hour a day of stretching for several months after my left shoulder surgery. Super pain in the neck but the pay off is significant and the time was worth it.