If you’re simply wanting to run a LAMP stack on Windows, use XAMPP. If you’re wanting to run a full instance of Ubuntu, there’s two main options to choose from:
1). Use VirtualBox or;
2). Dual-Boot Windows & Linux on your desktop/laptop.
Running XAMPP is going to be the easiest solution as it’s going to provide an out-of-box solution that will get you up and running quickly with minimal hassle and/or configuration.
If you choose VirtualBox or, the more semi-complex method, dual-booting, you will be responsible for setting up Apache/NGINX, PHP, and MySQL/MariaDB on your own as well as managing them.
** I say semi-complex as I don’t know if you’ve ever dual booted before. It’s not difficult, but takes a bit more time as you need to partition your disk(s) and ensure that you’re not trying to install Linux over your Windows installation as that could easily destroy your Windows installation altogether.