You can follow these steps to exclude a category of posts from showing on the main blog page.
#0. Suppose you have a blog category: Bike, you want to hide all posts belong this category on main blog page.
#1. Edit all posts belong the category: Bike > Settings

#2. Edit Excerpt > Enter text: bike

Highlight it and add URL: #bike

#3. Find Main Blog Page ID. Use this tool.
In my example, it is:
- #collection-6677756d03a4f15ba27ce9d8

#4. Use this code to Custom CSS box
#collection-6677756d03a4f15ba27ce9d8 {
article.blog-item [href="#bike"] {
display: none;
}
article.blog-item:has([href="#bike"]) {
display: none;
}}
