How to customize / override topic guardian through a plugin

I don’t know your use case, but the easy and safe way to do that would be to add or remove those users from a group with the permission to create a topic.