In version 3.80, an unpublished product is displayed on public store and it's possible to buy it (I'm not logged, I tried it on incognito mode). You can see it on the demo site of nopcommerce.
I just now tested it on local, and all right. After unchecking "Published" setting on the Edit product details page, the product is no longer available on the public store.