This reminds me, do we have any way to invalidate a lock for when a project changes it's moduleGroup or moduleName? In that case, they key is changing, so we won't find a match. We might need an exception when we detect a project dependency has changed.