I would start by reading GaMedic's thread in the Upgrade's section on how to flash your phone. Then experiment with BuildOS a bit then you will be better off.
As far as your phone locking up, try pulling the battery. Otherwise you may have to hard reset.