Tries to lock the lock if it's currently unlocked.
impl<'a> Lock { fn try_lock(&'a self) -> Option<LockGuard<'a>> }
Returns a guard if the operation succeeded.