GrapheneOS is great on my Pixel 7! App load times are slower, but that is a function of its hardened security.
To answer your question, Pixels are one of the few devices that allow relocking the bootloader on non-stock software. That in addition to the fact that they have some of the best security of all smartphones.
DivestOS is also another option that may allow you relock your bootloader, depending on your model.
Too bad the development speed makes a snail look fast