Dependencies on editable fields

I’d like to be able to let eg. tables (or other fields) be editable upon dependencies of other field values.

Eg: If a shipment is marked with status “Complete”, you will not be able to edit one or more fields in the table.