It is safe to cook with the lid on as long as you are following the recipe. If the recipe calls for stirring, you should occasionally stir, so the food doesn't burn.