Apple has issued a statement today that programs available for the iPhone to SIM unlock it could cause "irreparable damage" to the device.
Apple plans to release the next iPhone software update later this week which will include the iTunes Wi-Fi Music Store.
It appears the statement only refers to SIM Unlocking your iPhone to allow it to use networks outside of AT&T. It would appear that 3rd party hacks (Ringtones, Applications) would not cause the same problems.
One forum user indicates it is possible to reverse the SIM Unlock by reflashing the firmware but must be done manually at this time.
A rough guide to relock your iPhone, ahead of the software update.
Apple, iPhone, iPhone Unlock, iPhone unlocking, SIM unlocking, SIM unlock, Unlocking Application, Unlocking Software
Source:? Mac Rumors