How to change rotation on a locked physics axis?

I locked the physics rotation of a capsule component on the X and Y axis but in doing so, when ever I try to add or set the rotation via blueprint, the actor moves along the plane it’s sitting on. It seems like the physics side of things is resetting the value to it’s initial value. Is this intended behavior? As the “Lock Rotation” settings are under the Physics section, I would assume that the rotation locks would only apply to the physics.

What I expect to happen is that physics interactions would not change the rotation of my capsule but I would still be able to set the rotation myself.

Is there a work around?