Lock file
A file that records the exact versions of all dependencies and their sub-dependencies for a project.
Lock files (package-lock.json in Node, Cargo.lock in Rust, poetry.lock in Python) solve a classic problem: two developers checking out the same project get different dependency versions if only version ranges are specified. The lock file freezes the entire dependency graph so the next build or install produces identical versions everywhere. It's essential for reproducible builds and avoiding "works on my machine" situations.