I just found an old 3GS (A1303) in my drawer my brother gave me ages ago. I forgot the pin so had to factory reset it. During reactivation, it says the SIM card is not supported by the carrier according to the activation server so it must have been a carrier locked phone. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.