The frost free ones should prevent that by having the valve in the warm space(in theory). I have one installed after I had a burst like yours. The other one I just have a shut off valve so I drain that every fall. I'll probably replace it with frost free this summer.
https://www.familyhandyman.com/proje...utdoor-faucet/