VMs are persistent unless you configure them not to be.
VirtualBox is the go-to easy-mode virtualization software. You’ll likely quickly outgrow it as you learn it’s limitations, but, it will teach you all the concepts you need to know, and they’ll largely be transferable to more robust systems like esxi or proxmox.