A safe bet is to buy whatever device google sells from the google store. All the nexus and pixel devices sold directly by google have unlockable bootloaders. Recently, google has made things worse by selling ones that can't be unlocked through carriers. From a security standpoint, google's devices are also the only ones that let you verify a third party firmware with your own keys etc. At least that's one of the reasons cited by copperheadOS. I don't think other manufacturers have that feature, even if they allow unlocking the bootloader.