How to make an admin/ban panel?

How could I go about making a checkbox ban a user via an admin panel?
(or even have a duration ban with reason + popup on their profile)



(Images for context)

I recently did something similar to this. I used icon instead of checkbox and created a workflow to make changes to the current cell’s user (field name flagged, field type yes/no). flagged is “yes” from default to “no”.

Then changed the icon based on the flagged status in the conditional tab of the icon.