Add "no hyphenation" as a character style.
"No Break" does not mean the same as "No Hyphenation".
If you have a long sentence and not only one word that should not be hyphenated, adding "no break" style is no help. You must exclude all the spaces in the sentence to make the sentence break.
A new character style "no hyphenation" would do this automatically.
Thank you Tobias for the No Language workaround, very helpful.
Rainer, no »normal« user will find out the »no language« hack – I totally agree with that! It's clearly a workaround (although logical: no language > no hyphenation algorithm). But works well and can be used in a character style.
As I stated in another post here, there are some more things at paragraph level that should be available on character level: https://indesign.uservoice.com/forums/601021-adobe-indesign-feature-requests/suggestions/31111393-add-word-and-character-spacing-justification-opt – but only one further person seems to think this is useful ... :o/
Rainer Klute commented
1. & 3. I don't want it in the whole paragraph, but for more than one word.
2. No "normal" user will think of "no language" as a solution if he/she wants to avoid hyphenation.
Therefore I'd like to have this as a character style.
3. InDesign option:
Adding a discretionary hyphen in front of the word that shouldn't be hyphenated.
Rainer, I don't know, if I understand your request right, but InDesign offers two ways of suppressing hyphenation:
In the paragraph options for the whole paragraph.
Make a character style and choose »[No Language]« (»[Keine Sprache]«) as language. Now InDesign »doesn't know« how to hyphenate, because the text has no language attribute.
(I wrote a German blog post on this: http://wantzen.com/blog/keine-sprache-retter-fuer-urls-im-satz/)