Connect MacBook Pro to Smart TV wirelessly
I want to transmit the screen of my MacBook to these TVs so I can work in different apps, documents, code and watch movies.

You need a simple AirPlay compatible dongle plugged into the HDMI port of your TV.
I have used several of these in different locations

The work great for business presentations (i.e. PowerPoint) and simple animations
They work fairly well for playing standard definition video (i.e. YouTube or regular DVD).
It's marginal at best once you get to HD video (720p or 1080p)
If you want 4K, UHD, HDR, etc, you need an AppleTV.
It doesn't get around any copy protected (DRM) content; it won't play!

For their price point of sub $50 USD, they're a great little adapters to keep in your computer bag for when you go on client site for a presentation, training, or you just want to mirror to a larger screen.  It's also good to attach to a projector so guests can easily connect.  They're convenient, but not meant for high performance so keep that in mind when putting together your solution.