The Wipeout.exe tool (found on the Micro/WIN installation CD) can reset the CPU to its factory state.
If you have forgotten the password for a Siemens S7-200 SMART PLC, the only official and 100% reliable "fixed" method to unlock it is to perform a factory reset siemens s7 200 smart password unlock fixed