Sets the edit lock for a record. When locked, it can not be edited by anyone else for the EditLockTimeout in seconds, set as a Site Property.
This Administration site implements this functionality automatically.
Syntax
Call ccLib.SetEditLock(ContentName, RecordID)
Parameters
ContentName ? String, name that uniquely identifies the content
RecordID ? Long Integer, the ID of the record in the Content Definition