Thats not 100% accurate, if you get the phone directly from certain carriers, they may keep the phone locked. iirc verizon is the worst at it but you can contact them and waste an hour and a half of your life over phone support to get it changed.
Why we have this system in place for phones is just... beyond me.
Basically this is done to ensure that the phone isn't locked by the carrier, meaning if you buy the device directly from google you can still unlock the device by connecting to the internet. Yeah, it sucks, yeah, you own your device less in a way, but im happy they still let you do it.
I sent a support message a while back asking about it on the google store thing - and they said it was unlocked. I installed grapheneOS today on the pixel 7 actually, and was surprised to read that you had to connect it to the internet just to unlock it. Its strange.
I enjoy grapheneOS so far though.
Edit: if you get the phone through an upgrade with your providers plan it will most likely be locked. There are some threads on grapheneOS' forum about which ones do or dont lock the phone.
https://www.bitview.net/help
I strongly advise an adblocker though.