Add deprecation warning to lock class
Merge pull request #2780 from lcycon/lcycon-deprecate_lock

Add deprecation warning to scala.concurrent.Lock class