There are tens of millions of code compliant shower valves, sometimes referred to as anti-scald shower valves, installed right now that can potentially scald people.
The term "anti-scald" valve is often used to describe a code compliant shower valve, but it is not anti-scald if it is not adjusted properly.
A scald can occur with one of these code compliant valves right out of the box. That’s right! It is possible to buy a code compliant temperature and/or pressure compensating type shower valve that is intended to prevent you from getting scalded and you can get scalded with it right out of the box if you just install it without adjusting the temperature limit stop after the installation is complete.
Scalding is more likely to occur in an older building with a non-code compliant shower valves.