It sounds like spd, once you have trouble with moving your leg it's more than a sore back. My physio took one look at the way I was walking and told me I has spd I couldn't lift my leg properly and as you describe it got stuck if I was in the wrong position. There is help available from physios or an osteopath. Wearing a support brace helps and rest.