Added lecture notes on locks.