You can check how many words are uppercase in a word, and then limit it. Someone above gave an example of such names as "McLaren", so this will allow. bottom side, if you put a maximum of 3, "LOL" will be possible. The path to success was to take the word "McLaren" to 7 and then limit it to a percentage of 20%, which allows longer words to have more uppercase characters, but not all caps. (Nothing can completely prevent this, but it will complicate them.)
Fun fact, today is International Blocking Day. :)
Viezevingertjes
source share