Playing with locks