Question: how to remove a pc from the domain windows 10?
Answer:  Open Settings, and click/tap on the Accounts icon.
 Click/tap on Access work or school on the left side, click/tap on the connected AD domain (ex: "TEN") you want to remove this PC from, and click/tap on the Disconnect button. ( ... 
 Click/tap on Yes to confirm. (