while pause, Y rotation of First Person Character Controller(C#) is moving ! how to freeze it ?

After pausing the game, all the components got freeze except Y rotation of First Person Controller. I have tried implementing lock the mouse look but didn’t work. what I have observed while play mode is Mouse Look was not the one varying, Y rotation of FPC controller is what varying. Please guys help me in freezing this Y rotation of FPC Controller.

Thanks in Advance.

I have tried few things they didn’t work… help me guys please

                 GameObject.Find("FirstPersonCharacter").GetComponent<MouseLook>().enabled = false;

gameObject.GetComponent().enabled = false;