Fix with_lock_guard documentation