Otherwise, the lock will never be removed, which (aside from being annoying) could be a problem if a new resource with the same name is later added to the configuration.