Update Invoke-ProcessLock

Updated with inline comments