TDMetacelloTool>>projectRegistrationDefinitionMap locking copies the registration, so locked projectEntry needs to replace registration in the map: