11. Avoiding deadlocks using separate method with tryLock()