I recently decided to virtualize macOS on my Windows workstation in order to create an environment for testing software installations within a snapshot-capable setup. VMware Workstation does not support this functionality by default; however, as is often the case, the open-source community has provided a solution through a tool called Unlocker.
https://github.com/paolo-projects/auto-unlocker
The key point to remember about this product is that it must be uninstalled using the same executable file before performing a software upgrade, as failing to do so can lead to problematic issues. Once the software has been updated, the tool can be run again to restore the unlocked functionality.