Command: providers lock | Terraform | HashiCorp Developer
The `terraform providers lock` command adds new provider selection information to the dependency lock file without initializing the referenced providers.