Shopify has officially added a "Private" feature that prevents product pages from appearing in site searches or collection pages, even when they are displayed. However, if you have created a landing page using a "Page" or "Blog Post" and you want to prevent it from appearing in store searches, you will still need to set it using metafields. Here is an example of how to set it up. (Note that it will also be hidden from Google search results.)
Example of hiding landing pages, specific blog posts, etc. that you don't want to appear in in-store search results

[Setup Step 1] Create a metafield "seo.hidden" for pages and blog posts as custom data

[Setting Step 2] Set the seo.hidden meta field to "1" for the page or blog post you want to hide.

[Notes]

