Add deprecation warning to scala.concurrent.Lock class

@retronym Here is that deprecation of the log class.