I had a look on the net and found this:
Is it safe for kids to cook with wine or eat meals made with more potent alcoholic beverages, known as spirits? Made properly, foods cooked with alcohol are perfectly safe to serve youngsters. The dish should be cooked long enough, usually several minutes, for the alcohol itself to evaporate, leaving only harmless trace residues and the concentrated flavor of the wine or beverage used. Cooking with wine, beer, sherry, and spirits can greatly enhance the taste of some dishes, acting as a flavor conductor to heighten the taste of all the ingredients.
Certain religions or lifestyles suggest that people not use alcohol, though, so some families never cook with it. If you think your dinner guests may abstain from alcohol in any form, even in cooking, ask them before planning the meal. If for any reason you prefer not to cook with alcohol, you can usually substitute nonalcoholic wine, broth, water, or grape juice with a splash of lemon juice.
Beer and wine have less alcohol and won't ignite, but stronger spirits will actually burn if touched by a flame or heated sufficiently. To keep alcohol from accidentally igniting—as some fancy restaurants intentionally do by pouring brandy on a dish and then setting it aflame—turn off the heat while adding the alcohol, then turn it on again to cook the alcohol off. And never buy so-called "cooking wine"—it's made from inferior wine and usually laced with salt or other additives. Only if an alcoholic beverage is suitable for an adult to drink and enjoy is it suitable for cooking.
Here is the link, HTH x
https://www.cookingwithkids.com/recipes/