Fine-grained locks (WIP, Part 4).