An entity may be locked by an actor, and the Lock may be jointly
held by a set of owners; a lock may be owned by either an actor or
a group. The locking actor must have write access on the entity.
Actors not included in this owner set are prevented from modifying
the properties of the locked entity. A Lock has an optional timeout
value, after which point the lock is automatically released. The Lock
creator, Lock holders, and users that have administrative privileges on
the locked entity (such as workspace coordinators) may release the
lock manually. Every Lock has a lock type associated with it.
A given set of owners may hold two locks of different types
on an entity simultaneously, but may not hold two locks of the same type on
a single entity. If the entity on which a Lock is held is a container, then the
Lock is also in effect for all entities contained within the container.
Since access control for locks is governed by the lock holders, the
standard Beehive-wide access control members should be ignored for this entity.
The type of the lock. This member is not related to the type of entity on
which the lock is held but rather the means/purpose for which the lock
was acquired.
Below are examples in XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.