Thanks for sharing your concern with us here in the Community, @lsps2010.
Let me shed some light about modifying paychecks in QuickBooks Online.
When a paycheck has been processed, and taxes were paid, you'll need to reach out to our Customer Care Team. They have the tools that can check on your transactions and make necessary corrections.
If the paycheck was not submitted yet, a user can still edit the earnings. I'm sharing here some links that provide information on when you can modify or delete a paycheck in QuickBooks Online:
To prevent this issue from happening, you'll need to make sure to deactivate the ex-employee from the list of your users. This way, he can no longer access your account and generate changes.
To deactivate a user:
Sign in to QuickBooks with a user profile that has permission to manage users.
Select Gear icon.
Select Manage users.
Find the user you want to delete. Then select the arrow icon in the Action column.