(Frustratingly not available on Home edition, of course)
Ain't no better way to make it a habit than by encouraging folks to practice
Do you need to install a program to do precisely one thing? Do you want to test whether your game installs the correct redistributables on PCs which don't have them? Do you want to test whether your fancy batch script will actually reorder your movie catalogue instead of deleting it?
Windows Sandbox solves all of that: it sets up lightweight VMs in seconds, which are destroyed once you close them. You can configure it to allow or deny sandboxes network access, give them access to certain folders, or to run specific commands when they start up.
It is really nice, but for some unfathomable reason Microsoft made this a Pro-only feature you have to manually enable, instead of advertising it widely as the place to try out that cool game you got on Discord*
(*Okay, it's a lightweight VM with networking enabled by default, you'll want to exercise some caution still, but it is going to make it significantly harder to do lasting damage)