Why does my iphone 5s screen freezes when i charge it?

Why does my iphone 5s screen freezes when i charge it? Realized that it unfreezes when you unplug it. I plugged it into a different electrical socket and it didn't freeze and works fine. I found out the issue is because it was plugged into a usb electrical outlet. Is there a fix for this issue? Do I need to get a new phone from Apple? The phone is only 4 days old! I heard that other people have the same issue when using a 3rd party charger, but this is not the issue with my phone.

Go friend run and chage it, When you have warenty don't search answer on net. Just change it its the best solution.