When you sell a laptop, you should have factory reset it completely, so that the next user can turn it on, and it will prompt them to set it up like out of box status, so they can set it up with their own account.
In this case, you will have to give the other user a clean install instructions.
To perform a clean installation of Windows 10 using the Windows Media Creation Tool. You do need to get access to another computer so you can download the Windows installation files into a flash drive, then use the flash drive to help your computer. Hopefully you have a spare computer, or you can have friend or family help you.
The following steps should be done on a working Windows computer:
Download the Windows Media Creation Tool from Microsoft's official website. https://www.microsoft.com/software-download/windows10
Run the tool and select "Create installation media for another PC."
Choose your language, edition, and architecture (32 or 64-bit) and select "Next."
Choose "USB flash drive" as the media to use for the installation and select "Next."
Connect a USB flash drive with at least 8 GB of free space to your computer.
Select the USB flash drive you want to use, and then select "Next."
The tool will then download the required files and create the installation media.
=====================================================
Now these steps will be done on your problematic computer:
Go to the computer's BIOS boot menu to have it boot from the USB drive.
Follow the on-screen instructions to install Windows 10, making sure to choose "Custom install" and select the option to delete all existing partitions.
Once the installation is complete, you'll have a clean installation of Windows 10 on your computer.