As stated before, going into component mode and selecting the ? selection mask will allow you to select and rotate a joint's local rotation axis without rotating the joint itself.