When deactivating a user with open activities assigned to them you will see the following pop-up window:
Select a user and save for it to auto-reassign the open activities to the selected user
Click here for instructions on how to setup / modify a user (Admin > Master File > User)