Hi, I'm Rodrigo and I will help you.
I understand you want to connect the PS5 to a laptop and play using the laptop display.
Unfortunately, this is not possible by connecting the HDMI cable directly to the HDMI port on the laptop.
The HDMI port on the laptop is output only, it will not receive the input signal from the PS5.
The only way to make this setup work it is by connecting the HDMI cable to a capture card connected to the laptop, the capture card has an HDMI input and will show the image on a capture program (e.g.: OBS)
Here is the example of a cheap capture card: