sharedLock(lockTarget: Object);
The sharedLock method of the Object class attempts to acquire a shared lock on the object specified in the lockTarget parameter.
An object that is locked by a shared lock cannot be locked with an exclusive lock or updated by other processes, but it can be locked by another shared lock or a reserve lock.
For more details, see "