Flashing is the SAME as unlocking. Make SURE you unlock first. Find a rom you like( I suggest Mighty MIkes Mighty ROM) then download the file,save to your desktop, then connect your phone via active sync, then run the file, if you get confused or still arent sure go to this thread ;
http://forum.ppcgeeks.com/showthread.php?t=43266
Hope this helped.