Stop character from turning until camera boom is turned a certain amount?

Hey everyone I’m not quite sure how to explain this, but I would like for my third person character to have the head rotate according to the camera, and when it reaches a certain degree the body begins to rotate as well.

The best example I can explain of this is in player unknown’s battlegrounds. If anyone has the game, just try standing still and rotating the character. You can see that the head rotates, and when it reaches either 130 degrees or 40, the body will turn too.

Thanks for any help!