how do i lock the View Yaw in First Person Camera? (Free Look Mode)

If you are using a spring arm it will react with collision. So simply adding a camera as a child to the moving object and not returning the YAW when moving the controller / mouse, should suffice.