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