Question Can i put in a processor gen above what motherboard says?

Sep 22, 2019
4
0
10
I have an Asrock B250m- hdv with an lga 1151 socket but it says it only will support 6th-7th gen processors. What will happen i buy... lets say I5 8400 and put it in, will it work? Why wont it?