On the Staff page press Disable in their row. They can no longer log in, and their past work stays in the records with their name. Enable gives their access back.
For a driver who has left, open the driver's page and press Deactivate; an inactive driver cannot log in. Reactivate brings them back.