See the
Style Separator. You can apply it with
Ctrl+Alt+Enter after the part you want in the TOC. Apply the first style by clicking in the part you want in the TOC and applying the (heading) style. Apply the Normal style or a custom paragraph style to the remainder. That custom paragraph style can look the same as the heading style but without the outline level.