[PATCH 3/4] vkd3d: Implement cache locking.