The MS Office that comes preloaded is most often a TRIAL version -- and that has no key. If you bought Office 365 with your laptop, you should have received a card in the case with the product number. IF you did not get that card, you have to contact HP Customer Support to sort this out.
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".