The microwave that came with my house is the first time I’ve ever had a microwave that had perfectly working popcorn setting. It has never burnt a bag of microwave popcorn.
If you read the manual for your microwave you’ll learn a lot about what it is capable of. My Panasonic microwave not only has a sensor cook mode for popcorn, but you can specify the weight of the bag and you can even add or subtract 10-30 seconds to dial it in prior to starting.
I recommend microwaves that have inverters in them, as well as moisture sensors.