How to lock camera Z-axes?

I’ve just done something similar for a twin-stick shooter game I am working on. I want the spring arm and camera attached to the back of the player actor, however I want the camera to aways points towards positive X (north). I simply turned off “Inherit Yaw” in the Spring Arm properties and that did the trick:

68651-capture.png