Disable Network during S0 Sleep standby

Due to the fact that my Vivobook 15x M1503QA does not support S3 sleep, I’d like to disable network access during S0 Sleep Standby. I succeeded in disabling it’s network access in Windows 11 using the Local Group Policy editor, however as I am new to Fedora, and kind of Linux as a whole, I’d like to get some help to disable my laptop’s access to the internet during S0 Sleep.