The easiest way to do this would be to just use windows 10 and enable hyper-V, although this doesn't outwardly change anything to the user it actually moves the windows os to run on the hyper-V hypervisor. That way you can run ubuntu in a vm that also runs on the hyper-V hyper visor simultaneously. So in reality you computer is running Hyper-V as the OS and running windows 10 and Ubuntu on top of it.