Lock - method for locking the object, making it unavailable for changes
Source position: graphics.pp line 438
protected procedure TGraphicsObject.Lock;