The locks you're referring to here are the ones that can be taken from NETCONF and other northbound interfaces and are known as
Global locks in 27.2. Locks (28.2 in newer versions of ConfD).
Read more in sections 27.2.1. Global locks, 27.2.3. Northbound agents and global locks and 27.2.4. External data providers.