If you unlock or jailbreak the phone, warranty is void anyways...
EDIT: I tried the above link with my iPhone - Apple says it's "Not Activated". I guess that's right - no warranty until activation...
So what have people done with a malfunctioning iPhone? They can be restored to a factory-fresh state, but I suppose it would be hard to prove that the phone is malfunctioning then, wouldn't it?