How to make animation exclude specific axis of rotation?

I only want the Y axis of the rotation of the UpperTorso to be animated without affecting the X and Z but how?

needing help still. i tried everything i know


even with the weight being very low, the uppertorso is still being animated fully