In InDesign, the non-breaking space is a specific type of space that ensures the text on either side of the space does not break into a new line. Unfortunately, none of the spaces listed (like Em-Space, En-Space, Thin Space, etc.) are inherently non-breaking. However, you can make any space non-breaking using specific approaches.
Options for Non-Breaking Spaces in InDesign:
Default Non-Breaking Space
Insert a non-breaking space via:
Type > Insert White Space > Nonbreaking Space (or shortcut Cmd/Ctrl + Shift + Space).
Customized Width for Non-Breaking Space
A non-breaking space will use the default space width, which may not fit your needs. Unfortunately, you cannot directly modify its width. Instead, you can use one of the following options:
Option 1: Use a Custom Space Character
Insert a Quarter Space or any other desired space:
Type > Insert White Space > [Desired Space Type].
Apply a No Break property via Character Formatting:
Open the Character panel or the Control bar.
Check the "No Break" box (found in the Character panel menu).
It really is best if you apply as GREP style in your Paragraph Style
Create a character style called No Break and only tick that function
In your paragraph style go to the GREP section and insert the Space type you're using and then select the Character Style.
This apply the style to the space you have choosen.
Option 2: Use GREP Style to Adjust Non-Breaking Space Width
Define a character style that adjusts the horizontal width % or your preferred value.
Apply a GREP Style to match all non-breaking spaces (~S) which applies the character style to non-breaking spaces only.