Some folders have no business in search results. A folder with tax scans, an old project with thousands of build files, a disk of raw video: I would rather not see those pop up while I look for an app.
Spotlight has an exclusion list for that. Open System Settings, click Spotlight in the sidebar (scroll down if you need to) and click Search Privacy in the lower right. Then click the Add button and pick a folder or a disk, or simply drag it into the list.
System Settings > Spotlight > Search Privacy > Add
For example, add ~/Documents/Archive and its files stop appearing in Spotlight. To undo it, select the item in the list and click the Remove button.
Apple adds two caveats worth knowing. If you exclude a Time Machine backup disk, Spotlight keeps indexing the backups, because Time Machine needs that and it can’t be turned off. And if you exclude certain files and folders, you may stop getting update notices for some apps; exclude the whole internal disk and you won’t hear about any updates. So I’d exclude specific folders, never the entire disk.
Keep in mind what this is. It hides files from search; it does not lock them, encrypt them or stop anyone with your login from opening them. For real protection, FileVault and a strong login password do the work.
Further reading: Prevent Spotlight searches in files on Mac