Sets the filters to block the specified events for the entity instance or class. It causes the named events to be blocked.