I have this code that listens to mouse events and uses suppress = True to prevent the events from being passed to the rest of the system. (Locking the mouse in
suppress = True