static void Lock(obj variable)
Prevent object modification
To avoid modification of an object we can use this method. The object is then temporarily constant and attempts to change its values cause an error (Err_ObjectIsLocked)
the object to lock
The Lock/Unlock method are not incremental, that is: a second Lock call after the first (on the same object) has no effect.
Return to the object class