To me this problem doesn't seem to be lock file related.
But it looks more like something is triggering an electron specific issue on your machine:
https://github.com/electron/electron/issues/42131
What I would try to do is install an older version of the Connect App that runs on a different electron JS version for troubleshooting purposes.
Like OpenVPN Connect version 3.4.4:
https://swupdate.openvpn.net/downloads/connect/openvpn-connect-3.4.4.3412_signed.msi
Please note that I do not recommend using this outdated client versions in production, like the one I just linked, but just to find out if whatever is causing this issue on your machine is related to a specific electron version or not.