Pregunta de entrevista de ADP

Locking on two strings and does it causes dead lock