My HP laptop is manufactured in 2017. Does this mean the HDMI port is 2.0 and allows 4k 60fps?

Has much less to do with the manufacture date than it does with the manufacturer. Without any details of the laptop, we couldn't say for sure - but the manual would certainly tell you. (And if you don't have one, you can most likely download it from the manufacturer's website.)