https://learn.microsoft.com/en-us/dotnet/api/system.workflow.runtime.hosting.sqlworkflowpersistenceservice.unlockworkflowinstancestate?view=netframework-4.8.1
SqlWorkflowPersistenceService.UnlockWorkflowInstanceState(Activity) Method...
Unlocks access to the specified workflow instance state.
activitymethod