A unit can be locked so that it can't be loaded in Data Collect and no modifications can be carried out on it. This can be done as follows:
1. In the database open the table Units.
2. Goto the unit you wish to lock or unlock.
3. Modify the parameter is_locked (0=unlocked, 1=locked).
This can also be achieved using a stored procedure at runtime if required.