I haven't done the SIM unlock, because I don't need it. In regards to unlocking for ROM flashing, this thread has all the information you need. Since you are on Sprint like me; you need this CDMA unlocker. The process is very straightforward. Just follow the instructions. Good luck.
http://forum.ppcgeeks.com/showthread.php?t=93252