The title pretty much says it all. My iPhone 5s doesn't connect to WiFi on restart until I unlock my phone. Not sure what's the issue. Any ideas? Thanks! I've forgot my WiFi network and reset my network settings. Is it my passcode? ETA: yeah it's the passcode. Worked right when I took it off.