Edit a Virtual Option and check the box required.
The customer has to select one of these options to add the product to the cart. If they don’t then there will be a message asking them to select an option.
Shopify options are all required by default and can’t be changed.
Checkboxes by design can be selected and deselected and can’t be required. Use radio buttons instead if you need to make the product option required.