Lock the worksheet from being updated. Use this function if you want to perform a series of operations on the worksheet without the chance that it will be updated while the operations are in progress.
int32 Lock()
None published. Please look for an example in the Scenome Scripting Language code base.