On my site, I don't use the chop page or the cart page of WooCommerce as I directly send people to the checkout page. So, I tried to set the page visibility to "Private" but even after that anyone with the shop URL can visit the shop page and it is showing perfectly fine.
Whereas I created a normal test page and made it Private and when I am checking it from an incognito window it is giving 404. Exactly what I want. But this same thing is not working for WooCommerce default pages.
Does anyone know why? I have already tried all the troubleshooting steps but no result. I got no clue why the WooCommerce default pages are not respective the WordPress settings.