You can now prevent orders from being edited or deleted within a specific date range set in your admin settings.
To do this you will need to go to Admin > Store Settings > Security > Disable Order’s Edit and Deletion During the Selected Time Frame
This will look as below:
Once this has been setup, if a user tries editing an order in the system, or deleting it, the following message will then appear.