A:
For sure this cable works to connect your computer to the tv. I was using it to conect my desktop to a 4K Samsung TV without problems.
Not sure if your laptop would just recognize the TV as the screen when you are booting and before getting to Windows or your OS.
Check also the length you need to be sure you have enough cable length.