Document.LockServerFile (Word)
Locks the file on the server preventing anyone else from editing it.
This method applies only to documents stored on a server running Microsoft Office SharePoint Server 2007.
ActiveDocument.LockServerFile
Locks the file on the server preventing anyone else from editing it.
This method applies only to documents stored on a server running Microsoft Office SharePoint Server 2007.
ActiveDocument.LockServerFile