* {{Code|CREATE DB newdb}}, write-locking of "newdb"
* {{Code|ADD input.xml}}, write-locking of the database opened by a client
* {{Code|//*item}, read-locking of the database opened by a client
* {{Code|doc('factbook')}}, read-locking of "factbook"
* {{Code|collection('db/path/to/docs')}}, read-locking of "db"