confine it in a closed container and as it begins to warm up and vaporize the pressure builds. Does this answer your question....?
Yup. I was thinking of a high explosive event. Dry ice isn’t a high explosive.