lock — synchronization mechanism for enforcing limits on concurrent access to a resource