How to lock down historical Python packages and prevent their installation?


I am wanting to lock down old versions of a given Python package and prevent the “pip install” of that package. I want to do this to keep a history of these packages, but prevent anything from installing that version.
For example, let’s say I have urllib3==1.25.7 and I want to upgrade to urllib3==1.25.9. I want to lock down v1.25.7 so that no one can “pip install” it, but it still stays within the repo. Of course, v1.25.9 would be available to “pip install”.