My iPhone has never locked up. Apps have, but not the phone.
Unfortunately this doesn’t resolve the problem for someone whose iPhone has completely locked up either.