Pergunta de entrevista da empresa AppDynamics

Describe concept of locks in operating system