Once a resource has logged actuals to a project, they cannot be removed.
To exclude the resource from future planning, remove all allocations and ETCs from their assignments.
This is by design. Think of the project as a snapshot of all work that has ever been done. The resource has to remain on the team so you can see that they did work. The allocations and ETCs are what is used to denote that the person still has work left to do.