Pregunta de entrevista de Arlo Technologies

What difference between lock and semaphore