The NEC does not define nor require an electrical room, therefore it has no rules for one. I have seen switchgear install on production floors with bollards to protect it from forklift trucks.
See 110.21(B). 110.27(C) and 110.34(C). But also note that it says exposed, live parts. So if you have open, live bus bars or transformers with accessible bushings and similar live, open gear, it needs signs and protection such as locked or bolted gates, doors, etc. it also requires lots of danger signs. All this should be pretty obvious. Again think outdoor overhead substation. This is very different from where all the equipment is closed and normally locked, bolted, or interlocked. I have always interpreted the “licking” requirement as requiring some kind of tool for access…wrench, screwdriver, or key. No Codes come right out and say it that way but that’s the end result. I recognize that a screwdriver or key is a pretty low standard but that’s what it is. Locks are for honest people. I’ve witnessed multiple accidents and would be accidents from dishonest people. All I can say is criminals are stupid or they wouldn’t be criminals.
So no I don’t recommend licking MOST electrical rooms or covering them with danger signs on the doors,