Hi,
HP does not provide BIOS XMP settings. Your motherboard (Link) will support DDR4 2400 memory.
There are other memory timings involved in this process. The modules you have purchased may not be supported on this motherboard.
I would check HP Part Surfer (Link) for HP compatible memory or try Crucial Memory (Link) to see if they have 2400 modules for your MB.
Regards