When a product is out of Stock, there are two ways to change the status of an item from the dashboard as not available on the customer menu:
Changing the availability of a menu Item
Go to Products > Menu or Products > All Food and Drink Items
Click on the item and set it as unavailable.