Active shiftlock whether i want from other scripts

Hello, i have been working on a gun which should make the shiftlock appear when its equipped, the problem is that i dont know how to make the shiftlock ON when the Equipped event fires. is it some ways to controll the shiftlock while the game is running but from scripts. if its not possible tell me too so perhaps i will find another solution.

yeah but can i use this code self.activeCameraController:SetIsMouseLocked(true) from a normal script, because thats in the camera module right? so how does i change it when the game is running?, because i tried changing the camera module and then run the game and it worked, but thats not what i want. i think i wasn’t clear but hope you understood me

or do i need to call the module camera script to get this function?