People who have teenagers will know that the vegetables will get left well alone.
Ultra sneaky trick..
Get them involved in gardening.
Sneakier even more trick.. Don't ask them to help you, actually ask them to stay away - "forbidden fruit" so-to-speak. If you don't want them doing it then it's the latest must-do thing for them.