Associating names with locks.