Provides a mechanism to automate taking a lock that synchronizes access to an object.
lock
C++ Support Library