To set a member to inactive, you have to assign the "inactive" role to him/her. This role has no permissions.
To do this, go to Team -> Members -> click on the respective member -> click on the pencil at the top right -> scroll down to "Roles & Permissions" and uncheck all roles except for the role "inactive".
The member is now inactive and can no longer accept or cancel events, for example.