How to disable the root motion rotation only?

Hopefully OP can come back and mark this question as answered because this solved it for me. Thanks a lot!