You will want to edit the reference variable and the lines below to incorporate disabling your character movement and camera rotation:
//Reference your character controller here, unless your controller solution comes
//with a better solution
[SerializeField] private FirstPersonController player;
❓
Can I use a different Character Controller with this system?