It’s not uncommon, but it’s also not “normal.” The muscles often respond with protective splinting and guarding after surgery or immobilization. Sometimes the muscles develop trigger points. These are irritable spots in the muscles that can set off pain and spasm.
Even though it seems like movement makes it worse, sometimes movement is just what you need. Gentle, slow, repetitive motions can often “re-set” the nervous system and help the muscles relax. You may need some outside help as well. Massage therapy is one option. Physical therapy can offer electrical stimulation, movement therapy, and trigger point release.
In most states you can go to a massage therapist or physical therapist without seeing your doctor first. After surgery of any kind, it’s always a good idea to ask your doctor’s opinion. It’s best not to do anything that will affect the results of the operation.