Let's say we are very lucky and get a full software unlock. What if something breaks on the iPhone....like the screen or something....will it still be covered under warranty?

I was in the Apple Store today and noticed that several of the demo phones had touch screen problems......I guess it's from everyone banging the thing. So now I'm worried about validity of warranty after unlock.