Updated lock documentation.