This works at a lot of chain hotels. Not every hotel, but a lot of them. In the UK this works in most Premier Inns and Travelodges, doesn't work in Point A hotels from experience.
Alternatively ask for two or more cards at the desk.
If the room is cleaned daily the cleaners have a tendency to remove them though. The chain hotels only tend to clean if you ask though, or on a certain few days after check-in.
Helps if you want to keep the air con on or devices powered up.
The content may vary between regions though, e.g., you open Netflix in another country and no longer see a show you’re watching while see other ones appear. This can sometimes feel like a feature more than a bug.
Might be worth getting a male to female HDMI extension cable to make it easier to plug in.