iPhone freezes when charging

Is anyone else having this problem. I used to have this problem with my old Droid but not with my last couple of iPhones. I'm ready to take this thing back?
It won't let me unlock or delays unlock and when I try to open apps, there's a long delay or doesn't respond!!!!
Try a different USB port. Mine doesn't do that.

Original thread: https://forums.imore.com/threads/iphone-freezes-when-charging.240752/