properly lock chunk for hashscan