Option to set Item reservation(sales order) to close to a certain period


We are currently using erpnext.
For some items, customer are making reservations for quantity of stock of a certain item.
In this regard, we are making sales order so that the quantity will be reserved for that customer.
Is there anyway that we can set time (for example 5days) for the validity of sales order and once the set period is finished, the sales order will automatically be closed?

thank you…

any chance if this can be done in erpnext? thanks…

@ai_me not out of the box.