Flash should survive just fine, I guess.
Laser is likely Nd:YAG with 1064 nm wavelength, so not enough photon energy to erase the Flash, just as you can leave an EPROM in the sunlight for weeks without erasing it.
This and some reflected light microscope with nitrogen laser mounted to it might be a nice setup to erase lock bits.