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