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