How to limit rotation without gimbal lock?

I’m looking at it…