# poetry lock > Lock dependencies in `pyproject.toml` (without installing them). > See also: `asdf`. > More information: . - Lock dependencies from the current directory's `pyproject.toml` file: `poetry lock` - Regenerate the existing lock file: `poetry lock --regenerate`