limiting inputTurn

I have a problem with the input turn how do I lock it to 90degrees in the YAW angle in any direction I rotate the Controller??? if I rotate my controller its just locked to worldspace 90 - (-90) angle.
I’m using two cameras to switch from over the shoulders view to turret view, and then restricting the camera rotation for the turret view.