The wpLockObject method increases the object's lock count by one. The wpUnlockObject method decreases the object's lock count by one. If the lock count is zero, the object can be made dormant. The wpIsLocked method returns TRUE if the object is locked. Otherwise, it returns FALSE.