Is there a way to lock the axis on a Pawn/Character BP?

The most clean way.