How can I do ? Is is the same if I turn off wifi on a more recent PC ?
If you want to have a cold storage, you should run electrum on an airgapped device. This means that you should use a device which has been always offline and will be never online.
With turning off Wi-Fi and disconnecting your computer from internet when generating a wallet, you don't make your wallet a cold wallet.