Hi All, well I think I've tried everything to resolve this issue so I'm begging for some help here pleeeeaass

Basically what happens is when I press the screen lock button the screen will lock as usual but after approx 10 seconds it will turns the phone off. If I unlock the phone within these 10 seconds it will be fine other if not it turns off, by the way if the phone is plugged into power or into a usb port on a computer and I press the screen lock button it will be fine and not turn off.

Now when it turns off it will require either one of two things to restart it, 1. I can press the power and restart as normal or 2. the power button won't work and I have to hold down the home button and the power button for approx 5 - 10 seconds and it will flash a white screen then I do the same again and it will turn off the phone and then I can start it again as usual by just pressing the power button. The latter is usually what needs to be done.

Now this problem is not random and happens everytime I press the screen lock button.

I have tried reinstalling the software many many times and all 3 of the versions, reflashing the baseband, virginizing the phone, tried removing all the apps I can think of, turning different settings on or off ie like the wireless and the auto screen lock settings.

This is a new iphone, I purchased it unlocked new while in China and I had another one that I used whilst I was in China which doesn't have any problems, when I got home to NZ we realized the keyboard wasn't working on the phone so I reinstalled the software and since then this problem started happening, it wasn't everytime to start with but within a day or so it was everytime.

Any help would be greatly appreciated as I'm at my witts end and this is basically a brick at the moment and I have had it for 6 or 7 weeks and haven't been able to actually use it yet. By the way the other phone I got which is going well was given to my GF.