How do I mark a product as "sold out" or "out of stock"?
If you want a product to show as "Out of stock" on your public product page, you can check the box "Track quantity in stock" and set the quantity in stock at 0. Here is also a video that shows step-by-step how to do that: https://youtu.be/Ks-QGLIjN10
If you want to make a product not visible on your site, you can also uncheck the box "This product is visible on the site" for this product (this option is less recommended, as the page will then be unavailable and will loose its Google ranking).