Freeze one axis using blueprint

I believe you’re looking for axis constraints which should be accessible through the character movement.