Leg muscles whilst orgasming???

Whenever I orgasm even if I am completely relaxed I feel like the muscles in the back of my legs are gonna cramp and knot. Is that normal and is there anyway I could stop it from happening???