How to stop Camera from rotating?

Hi there,

I have the Character of 3rd person template. I want to stop camera from rotating around the character temporarily, while still following the character position. I want this because I’ll still use the inputs (Right Analogue stick/Mouse input/ Arrow keys of keyboard) for other tasks(action tasks). So in other words, I want the input, but I don’t want the Camera/Boom rotate despite the values of inputs.

What is the best way to do so?