It could also be that your power supply doesn't have enough juice in it for your pc.
Is the hdd or ssd you have Windows 10 installed in SATA port 1 ?
Which ever you have Windows 10 on.
Also, this one is really important. When you installed Windows 10 did you select either your DVD drive or Flash Drive that said EFI next to it ? That's a must do in Windows 8, 8.1 and 10 for Secure Boot to work.
That very well could be the problem.