Gov. Kathy Hochul signed a law restricting automakers from charging recurring fees to unlock certain features.