You can restrict access to the modification of the Inventory item code to only the Distributor and F9 access levels when editing an inventory item.
Enable this option to make the Code field unavailable.