https://learn.microsoft.com/zh-cn/dotnet/api/system.windows.weakeventmanager.writelock?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0
WeakEventManager.WriteLock Property (System.Windows) | Microsoft Learn
Establishes a write-lock on the underlying data table, and returns an IDisposable.
property systemwindowsmicrosoftlearn