Adding the composer.lock function