Horror Game: Character Movement

So I want to know how I can make it so the character can only run (which i have the max speed done for this already) during specific times in the game. I have already done the event graphs for Running and Walking. I am a beginner so please make this simple as possible. It’s also fine if it is complicated.