Creating a sprint that has turning restriction?

Apply another scaling factor to the “addControllerYawInput” (or whatever its called) that decreases the axis value output of your input by a certain percentage when “bIsSprinting” (a multiplier of 0.25 to start maybe?)