Root motion upperbody problem

i have two rootmotion animation state,
so can i only use the upperbody movement in state B and remain the lowerbody movement of state A(the state before B)?