--- title: "Synchronization (lock Class)" ms.date: "11/04/2016" ms.topic: "reference" helpviewer_keywords: ["lock class"] ms.assetid: 5d468122-875d-4e81-b5ba-c9486a873335 --- # Synchronization (lock Class) Provides a mechanism to automate taking a lock that synchronizes access to an object. ## In This Section [lock](../dotnet/lock.md) ## See also [C++ Support Library](../dotnet/cpp-support-library.md)