Very new to Blueprints myself, but the way I did it was like this.
A basic explanation just in case is that were checking to see if the player is crouched and only allowing the input action of “Sprinting” to go through if “Is Crouched” is false. Hoped this helped!