No tire is immune to flats. They can be minimized with good quality tires and tubes, going tubeless, inspecting tires for cuts and foreign materials, replacing as necessary. I probably change tires before it is really necessary, but IMO, it helps with flat protection. I understand the benefits to going to tubeless, but for me, I do not get many flats and 95% of my riding is on paved roads that are in good to excellent condition. The benefits do not outweigh what I consider to be downsides.
I suggest practicing the removal and remounting of tires and tubes at home. Watch a couple of videos that show a proper way to do it, and figure out what works best for you. That can save a lot of frustration when it becomes a necessity.