std::scoped_lock was introduced in C++17 and is strictly better than std::lock_guard as it supports locking any number of mutexes safely. It's also easier to use than std::lock for locking multiple mutexes at once.
C++17 has template type autodeduction. These wrappers include std::lock_guard and std::unique_lock.
Note this is only faster than mutex if compiler optimization is enabled.