Save the locked handle in obtainWriteLock