The holes are only for manufacturability.
Older receptacles had a design that would hug the holes to hold the plug in place. It’s a holdover for people with older houses.
I think this fact is actually a myth, the holes are for manufacturing as stated previously.
Not exactly a myth, but likely never used for retention purposes as was originally intended. See more here: https://electronics.stackexchange.com/questions/11495/nema-5-15p-blade-holes
If it’s for manufacturing why are some made without them?
Theres patents out there, I don’t know why technology connection did his own experiments on modern plugs instead of a modicum of research about receptacles.