Add install --no-lock option for not writing the dependency lock file

If a user does not care about locking dependencies (as they don't
want to force users to use specific versions of them), it makes
sense to not write a dependency lock file.  Previously there was
not an option to do this.