If you get a high number on 1 and a checkmark on 2, it's almost guaranteed to be good for programming - realistically, for allowing you to run your browsers and something like GIMP and/or video editing.
I have a ThinkPad with 32 GB RAM and it takes a really heavy workload to pause my computer.
I frequently have several browsers & several browser windows open (say 6 windows total, mix of Chrome Brave and Firefox), and GIMP. No slowdowns noticeable (EDIT: some things do take a few seconds, like filters & exporting images from GIMP). Most importantly, using my window manager, I can switch from a full-screen browser to Emacs to GIMP instantaneously - not even a millisecond of noticeable delay.
Even many new computers purchased today can't beat that.
Also check for the screen. For quite a long time there was an Option for an abysmal 1366x768 screen. The same notebooks can be had with a proper HD screen, so get one with those.
The supervisor password is the one you care the most about.
You may get a seller who says "no BIOS password, boots up without a password." But the machine may still have a supervisor password, and if you don't have that you can't change the BIOS settings.
Always make sure there is no supervisor password, or the seller gives you the supervisor password.
This isn't due to any good qualities of the sellers. It's because ThinkPad makes damn good, sturdy laptops that are quite idiot-proof. I mean if you sit on your balcony and drop your laptop off the edge - that might destroy it. But it's going to take something on that level, and most people aren't that careless with electronics.
So you can be reasonably confident that anything ThinkPad you buy, if it isn't visibly damaged in the picture, will work as expected, in my (anecdotal) experience.