BigBen1996 :
LukeW2464 :
Your i5-6400 is a Skylake CPU, which uses the LGA 1151 Socket. The socket is basically what the CPU sits in on the motherboard. So any motherboard that is LGA 1151 will work with your CPU. The
Z170 bit is a little different, this is the chipset type, chipsets are what manage the communication between CPU
and other components (If I'm not
mistaken) The Z170 Chipset is
good for overclocking. That
motherboard you linked should work with your CPU.
I wouldn't recommend overclocking your CPU, but you'd have to research what other people with your CPU have done.
I'm willing to upgrade my CPU if I need to. I've just read around and seen myself that the K only seems to mean "unlocked" and I could push that 6400 from its 2.7 default to 3.5 easy but I wasn't sure how that worked if it wasnt "unlocked" But that motherboard is a for sure buy on my side then.
Some boards and chips (Z170) allow for non K processors to be overclocked, though it is not recommended as they weren't orginally intended to be overclocked it can be done. "Unlocked" basically means its free to alter the settings of the cpu (voltages, clock speeds etc) if the motherboard allows it.
Before making any final decisions I would research around and see what other boards people used to overclock their i5 6400's and to what speeds and basically if its worth doing it.