If you can’t switch off iPhone 12, It could be a button on your iPhone 12 is not working.