Function to turn off the auto rotation of player entity to turn where the camera is facing

Hello Team,
I want a small feature which will enable us to toggle On/Off the Auto Rotation of player towards the camera forward.

When we look somewhere from the camera the player entity also looks into that direction.
So I just want a properties to be able to turn off that mechanic.
Thanks!
Alvis