Yes, all you need to do is set an expiry date in the gallery settings. After this date, the clients will no longer be able to view photos or place further orders.
In addition, you can set the content of the message that will be displayed to the client after entering the gallery.