After you extend hard drive on a virtual machine, you have to expand partitions on the virtual hard disk drive. Partitions or volumes on a virtual disk don’t expand automatically.
There are multiple methods to expand volumes in Windows 10 and other Windows versions. Learn how to extend partitions in this post: https://www.nakivo.com/blog/extend-partition-windows-vm