Using Movement Keys when Interacting with UI Only

So I want the player character to be able to use the movement keys (WASD) when talking to an NPC to select various parts of the UI (a widget) but not be able to walk with them (so I want to lock their movement when they have the UI open) with blueprints, but I cannot figure out how to do that.

So how do I lock the player (this is the third person blueprint by the way) so he can’t move while the Widget is open and be able to use the movement keys to go up and down through the various UI buttons?