If you have only 1 domain on account, it's possible to sell an account with domain name on it. You may change whois to new owner details before it, or so. Remove credit card data / own payment methods / before doing it
p.s. I did it once, there was not lock, but buyer asked and I sold my account, all was fine