Is there a way to change movement speed of an enemy character with the press of a button?

I am making a game. The premise of the game is to get to the other side of the level without getting touched by the ai who is chasing you. If you get touched you re-spawn. I have implemented a feature where you press the f key and switch to a different skin. I was wondering if i could change the movement speed of the ai when the f key is pressed. The ai goes 700 speed and the main character goes 600. I was hoping to change the ai speed to around 600 or 550 for a couple of seconds. Then switch back to its normal 700 speed.

You can use the “Set max walk speed” and change it as you please in the blueprint.