WiFi Disconnects when iPhone is Locked
I checked my family and friends' IPHONE12 and IPHONE12PRO, and after testing them in different network environments, we all have the same problem.
Let me tell you a story, and one day it will be true.
If a user's child is in danger and hides in the basement, the phone has no signal but there is a WIFI signal, so she sends IMESSAGE to her mom for help, the mom says "Don't go out yet, mom will check the home monitor remotely to see if someone comes in with a gun, I will send you a message in five minutes and tell you what to do ", daughter, "Okay", and TAKE THE HOME BOTTON then lock the IPHONE screen.
four minute LATER the mother sent an IMESSAGE, "run out of the house, the bad guys are on the third floor almost to the basement, now!!!RUN!!!" But the daughter got the message WHEN the bad guy caught her exactly in the basement; this was the sixth minute after the lock screen! THE IMEASSAGE WAS TOO LATE!
Mom was sad, but SHE didn't know it was all a problem with APPLE because the WIFI disconnect after the lock screen is to save power.
iPhone 12, iOS 15