iPhone says it is verifying update, but it's stuck on lock screen
Let the battery deplete. After the device shuts down on it own, leave it for a few mins and then put it on charge.

If that fails, you might have to repair the hardware or connect it to iTunes / Apple Configurator 2 to update over lightning connection.