removing dependencies from class Lock
conforming to philosophy of cl(clr)r