Couple questions for ya.
Are you completely unable to acess your Bios or are you only pressing the F2 or F10 keys after it freezes in hopes you can get farther in the boot sequence?
Try pressing the F2/F10 (whichever is to enter setup for your mobo) as soon as you boot up and keep pressing it, to the point of getting beeps for reaching keystroke limit. If you are still unable to get into your Bios, your problem is not the hard drive. Something is wrong with the Bios itself or the chipset on the mobo. If it was anything else you should get an error message from your mobo, not a freeze up. You should, theoretically, be able to plug in just a video card, monitor, keyboard and powersupply to a computer and be able to access the Bios.
Not much you can do for it if you can't even get into the Bios. Clean it out real good with air duster and cross your fingers, or as a risky last resort before replacing the mobo you could try a Bios flash.
The good news, even if all this fails, mobos aren't that expensive compared to the rest of the major components. between $40-$70 for mid-range mobos.
Good luck