dual boot – Ubuntu installation Failed to unmount partitions

I am installing ubuntu as a dual boot with windows 10 but after clicking install now in the intaller I am getting the below error. I ve tried so many times but keep on getting the same error.

Failed to unmount partitions

The installer needs to commit changes to partition tables,
but cannot do so because partitions on the following could
not be unmounted.


Please close any applications using these mount points.

Would you like the installer to try to unmount these partitions again?

I am a new user and eagerly wanting to use ubuntu, please help me fix this issue.

My laptop is a UEFI bios setup.