func NewLock(l *kvrpcpb.LockInfo) *Lock {
	return txnlock.NewLock(l)
}
NewLock creates a new *Lock.
package txnkv
import (
	"github.com/pingcap/kvproto/pkg/kvrpcpb"
	"github.com/tikv/client-go/v2/txnkv/txnlock"
)
type Lock = txnlock.Lock
type LockResolver = txnlock.LockResolver
type TxnStatus = txnlock.TxnStatus