The problem is, that with locked phone, we lesser our chances to retrieve phone - as normal solution for thief - when facing locked phone - is to flash it (or give to someone else to flash). This way, without knowing it, he also get rids of SMSOCN.
On the other hand, if the phone can be unlocked by just changing the SIM why did you put the lock code in the first place?