Share your experience!
when screen is locked, the WiFi is turned off alone!!!
Hi @Youssef_Ayman2, welcome to the community.
Go to Settings > Wi-Fi > Press options (the 3 dots on the top right) > Settings.
In here, there will be an option that says "Keep Wi-Fi on during sleep". You can set this to "Always".