FormControl.lock Method
Locks the form control.
Syntax
public void lock()
Run On
Client
Remarks
Use the Lock command when you modify an object and are not sure whether another user is about to make updates.
When you have saved your updates, use the Unlock command.