Add explanation of locking