This lets us avoid having to increment a bunch of values manually every time we add a new sort of lock.