You're using an ASROCK B460M Pro4 motherboard.
You're using an ASROCK B460M Pro4 motherboard.
The choice hinges on the specific Core i9 model you're using. A 10900(K) should fit by default, while a 11900(K) needs a BIOS update, though I wouldn't recommend either option for this board. I'd prefer i5 or i7 processors. Do you already have a CPU installed? If yes, leave it as is—it's not worth replacing the socket. If not, upgrading to AM5 or LGA 1700 might be more sensible now that prices are lower and used parts are cheaper.
Your i5 10400f is compatible with most modern motherboards, but ensure your current board supports the necessary features and voltages. If you're using an older or low-end board, consider upgrading for better performance and stability.