Temporarily disabling certain buttons

I was wondering in MV if there are any plugins that allow you to temporarily disable certain keys so they don't anything. For example, I disable the Up and Down keys. Disabling these keys prohibits the character from walking in those directions for the time being.
Although you could add a conditional to the keys that would probably not be worth it, for that map you could probably make an autorun with a bunch of conditional branches if button left is pressed move left, ect, if at x play the event.
I manage to find a plugin by Himeworks that does exactly what I needed. However, thanks for the help anyway.

Original thread: https://forums.rpgmakerweb.com/threads/temporarily-disabling-certain-buttons.118773/