Yes,If any variation is out of stock and when you select the variation, then that combination will show out of stock and you will not be able to add the product to the cart.