What you want is both Carrier and OEM unlockable.
Carrier means you can use it on any cell service, OEM means you can flash Lineage or Graphene.
I have 3 Pixel 5's right now running Lineage, I hammer on phones big time, and they run great.
Paid about $100 for each of them on ebay. 