Tools you need: WinRAR, adb, zipalign
Create new unlock sounds named "lens_flare_unlock.ogg" and "lens_flare_tap.ogg". These can be oggs or mp3s but the files must be named exactly as stated with the .ogg extension.
Copy /system/framework/framework-res.apk to your computer and make a backup copy.
Rename your working copy to framework-res.zip
Double-click to open the file in WinRAR.
In WinRAR navigate to res/raw. You should see the files to be replaced.
Drag your replacement files into WinRAR and (here's the important part) in the Compression Method drop-down choose "Store".
Hit OK in WinRAR. Make sure the Size and Packed columns are the same for the replaced files. If they aren't you didn't choose 'Store' as the compression method.
zipalign the file with this command: "zipalign 4 framework-res.zip framework-res.apk.mod"
Reboot the phone into recovery and plug it in. See this thread to get adb working.
Use adb to push framework-res.apk.mod to /system/framework.
In /system/framework rename framework-res.apk (the original) to framework-res.apk.orig (so you have a convenient backup.)
Rename framework-res.apk.mod to framework-res.apk
chmod 644 framework-res.apk
Reboot and you should be good.
If your boot gets stuck after the T-Mobile animation something has gone wrong. To recover, reboot to recovery and use adb to rename framework-res.apk to framework-res.apk.mod and rename framework-res.apk.orig to framework-res.apk
If someone can tells us how to add files uncompressed using 7zip or Winzip that would be great. I used WinRAR because it's what I had.
You can also try replacing framework-res.apk using this method but I haven't.