I don’t believe that’s true. Locking is entirely something done by carriers for promotionally-priced phones attached to active phone plans.
Can you point me to anywhere documenting your claim? That would definitely be a new low if true, but I really don’t think that’s how it works.