New, in version 3.x, is a feature to set a closing date for invoices.
This means that any order with an Order Status of Done before this date cannot be changed or edited.
You must be logged in as the ADMIN user to set the closing date.
To set this date, from the Misc/Setup pull-down menu at the top, choose Set Closing Date. Here you will see the option of choosing a specific date, or also a checkbox you can check if you want the date to change automatically to be a certain number of days before the current date.
set closing date, closing date, locking invoices, lock invoices, close out invoices, close out orders, security
