Deadline on ticket creation

Hello,

We want to create a queue that will no longer allow new ticket creation after a set deadline. I have no idea from where to start with this requirement. Any idea?