Add deprecation warning to scala.concurrent.Lock class

@retronym Here is that deprecation of the Lock class.