I'm using an old version of some libraries in one of my projects and I'd like to keep it that way. Whenever I start Arduino Studio it asks me to upgrade them. I have to click "remind me later" every time and if i accidentally click upgrade it will break my code and I have to downgrade the libraries manually.
You can always manually check for IDE updates via the help menu in the IDE. You can also manually check (both IDE and libraries) using the advanced setting; type update and take your pick.
You can create a folder named "src" in the same folder as the sketch, and put a copy of the older version of the library in that folder. That would require changing the #include to "src/library folder/library header file"
I know that; the link that I gave and the reply by @Willem43 just before that give you the answer. I added the additional information how you can still check if needed.