That's a good tip. I've got a moto g32 (ca. 130 € new) running LineageOS and am happy with it. Only downside is the CPU which could be a tad faster.
Unlocking the phone's bootloader is also not so easy, because you have to register your phone online and the web page is quite finicky. I had to try with different browsers to get the registration form to work.
Yeah, Motorola (which are now a brand of Lenovo after Google bought and sold them a while ago) are good value for money. I owned the Motorola Milestone (Motorola Droid in the US), then the Moto X (smaller version of the Nexus 6), and finally the ultra-thin Moto Z - however I was a bit disappointed with that one because the battery management was totally screwed up after a few years - it used to shut down spontaneously while reporting 60% battery and I wasn't able to reset it.