Lock player Camera Rotation

You can use a gate before the controller Yaw and Pitch, you can close it, and 20 sec later (use a timer) you can open it again.