New pc freezes before bios screen

Jul 22, 2018
2
0
10
Hello,i recently bought a new motherboard ( MSI b350 gaming plus) and a new cpu ( Ryzen 5 1600).
My problem is that my pc froze 2 times before the bios screen and i had to restart it.Everything works fine after that.
Also,everytime i get to the MSI logo screen (where it says press DEL to enter Bios) my keyboard doesn't work and numlock/capslock lights fade.
I don't have any issue at all when i get past those screens and i was wondering what the problem could be.
Psu/Ram/Hdd/Gpu were working fine at my previous pc.