Thanks all for help! I fixed this shutdown problem. what I did:
I disassembled laptop, changed thermal compound again, and that didn't work.
Reinstalled windows, and that didn't work.
and after all that I downgraded my bios version from 1.13 to 1.06 and it worked. PC is not shuting down anymore, and even after pc restart it passes 30 minutes and is still working. PC is turned on now for 2 hours and everything seems ok now. I dont know why bios didn't like my new CPU.