A really good way to open headlights is heat them in an oven from 215-250 maybe higher if yours are stubborn. But soak a towel in water and place it on the rack then place the light in the oven.
The towel will do two things. 1, keep your headlights from melting to the rack and the water will help free up the seal