The lock in StateDB is useless. It's only held in Copy, but Copy is safe for concurrent use because all it does is read.