Fine-grained locks (WIP, Part 3).