M.2 is M.2. B + M or M key will fit in any M.2 slot the question is: will it work? There are NVME with B + M or M only and a few SATA with M only so the key configuration is not 100% synonymous with the transfer protocol. But, bottom line, your laptop WILL accept an NVME M.2 SSD such as the 970 Evo. Good choice. Its what I use on my laptops if I get to choose the M.2 SSD.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".