Error on `--locked` and `--frozen` when script lockfile is missing (#18832)
However, we do not error when these are set as environment variables for
backwards compatibility and general safety since those variables could
only be intended for project use.
Closes https://github.com/astral-sh/uv/issues/18826
---------
Co-authored-by: Claude <noreply@anthropic.com>