A friend has a factory unlocked 3G. I know for sure it is factory unlocked, because I was the one who upgraded his phone a few months ago to a newer firmware via iTunes and it didn't require activation or any kind of different sim to be inserted. It was on firmware 2.0 and we took it to either 2.1 or 2.2. So for sure it wasn't just firmware upgrade without baseband upgrade.
It was both and the phone was working without the need to jailbreak or unlock.
After some time he wanted to install Cydia and some apps so we jailbrake the phone. Everything was working fine.
Today he decided to upgrade to the latest firmware and he get a locked iphone.

Which is puzzling me. The phone was purchased from a large elecronics store as factory unlocked. It was upgraded and it remained unlocked. And then after another upgrade it gets locked. Any idea guys?