exclusiveLock(lockTarget: Object);
The exclusiveLock method of the Object class attempts to acquire an exclusive lock on the object specified in the lockTarget parameter. If another process has a conflicting lock, the process waits until the lock is released. The object is exclusively locked for the duration of the transaction.
For details about exclusive locks, see "