#10258 reclose dragon cave by adding lock.