Adding notes about locking to the docs