Add documentation about the locked state