in safe mode go to msconfig and turn every thing off in start up. also uninstall anti virus if it damaged windows may not boot. if it still locks up uninstall the video driver. if the gpu is failing it lock windows up when the driver installs. with the driver removed it should boot into stock vga desktop.