It completely depends on the materials that they are made of, as well as the temperatures that non-stick coatings can handle, as high temperatures can break down the non-stick coating and even release toxic fumes. Be sure to check the instructions on which it states the temperatures it can handle. Some frying pans can handle temperatures up to 350°F, while some can handle up to 600°F.
If using a glass lid, be sure to check their temperature threshold too. Oftentimes, anything above 400°F can cause the glass to crack or shatter. And remember, if your frying pan has plastic or wooden handles, it is not safe to put into the oven, as they will melt and are not meant to withstand such high temperatures.