players can accidentally trigger events just by clicking somewhere on the map
This is a game. It is an artificially created environment. If something there can be accidentally triggered when it is not the right time for the event, then this is a bug. Instead of fixing that bug, you think about restricting the whole input system.
Think about it in reverse. You have a mega bomb in your space shooter game and can activate it with space key and by clicking the icon with the mouse. But you notice that you can fire the bomb even if you are out of ammo if you press space. The solution: deactivte the keyboard.
That's what your solution sounds like, to me.