Disable clicking?

Hello - Is there a real easy way to disable mouse clicks - So basically when someone clicks a button, further clicking won’t work until it is reactivated when it is told to do so later on in the code… ? thanks