If your iPhone XS or iPhone XS Max stops responding, you can try a force restart/hard reset. This will typically fix the problem. The current list of iPhone XS problems includes lockups and freezes.