You can't trade in your laptop. You can attempt to sell it, but a malfunctioning laptop is not worth much because people would only purchase the laptop for it's parts so that it can be used to repair other laptops.
You cannot simply transfer the hard drive to another laptop and use it normally. It will likely not have the correct software drivers installed unless you are buying the exact same model. At best you can connect it to another laptop and copy the files you want to keep.
You can always try to reinstall Windows 10 to attempt to fix software issues. If you have hardware issues, then this will not work. This will delete everything on the C: drive so if you have any important data on that drive, then you need to back it up...