You’d want basically any phone that has a build for lineageOS if you really care about that sort of stuff. But in all honesty, if you buy a phone that has what you want without having most of what you don’t want (LG, Sony are two that come to mind) they’ll last you a good 5 years by which point someone will have made a different OS for the phone.