Act quickly! Especially as the days get warmer and longer. Call the locksmith. While you’re waiting, put a tarp over your car and see if you can get water to hose the car off to keep it cool. If you have to, break the window.
Accidents happen, but keeping a calm head and then quickly will bring a happy ending.