Same comment with `lock_guard` here. Keeps you from remembering to call `unlock()` everywhere.