If it’s going to a non-dealer third party, you will need to purchase out the lease first and then sell it to them. Keep in mind that there are generally significant tax consequences for this.
The only other option is to find a dealer to act as a middle man and buy out the vehicle then sell it to the 3rd party, but expect this to also cost you.