Another solution consists of selecting from the Insert ▸ Formatting Mark ▸ Insert non-breaking hyphen menu.