When you lock your iphone or ipad, all the network activities are stopped. Wifi connections are dropped. With what Robin has stated, this would work if the ipad is in idle state and not locked. Since there would be no traffic incoming or outgoing, iPad might decide to drop connection to WiFi.

How to Disconnect an iPhone From WiFi By Tyson Cliffton Because the iPhone is almost always in the range of a 3G or EDGE network, you don't always need to have the device connected to Wi-Fi. While Wi-Fi is often faster than any of the other wireless networks the device can connect to, and any data downloaded to your device over Wi-Fi … 5 Ways To Fix IPhone 5s Not Connecting To Wi-Fi | Technobezz Jul 16, 2018 Make a call with Wi-Fi Calling - Apple Support Feb 11, 2020

Nov 23, 2017

Sep 29, 2013 7 Tips to Resolve "Wifi Disconnects When iPhone is Locked

Apr 29, 2020

Jan 31, 2020 [Solved] iPhone Won't Connect to Wifi Incorrect Password Jul 14, 2020 iPhone Connected to WiFi But no Internet - How to Fix that Feb 27, 2019