This really does depend on how the device is managed
But, if MDM enrolled, you should be able to wipe the computer
If agent enrolled, you could either wipe the computer from the command line or Remote Desktop, or use the following command:
net user username /delete
Where username is the username of the user in question. I don't know if this logs the user out instantly....