WordPress and WooCommerce doesn’t have built-in functionality to expire posts or products (i.e. events) automatically but fortunately FooEvents adds functionality that allows you to expire an event based on a specified date. When the event expires you have the option to automatically disable ticket sales or completely hide them on your website and calendar.
Visit the Event Expiration topic for further details