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