The easiest way to achieve this task is to build your own module based on the Generic Content module, because Workflow is implemented for the Generic Content. This way, your module will inherit this implementation.
We haven't tried to build custom module (not based on Generic Content) with workflow so far - that is why we are not able to provide you with sample code. We'll try to improve our Developer Manual on this topic. In case you want to try, you should reference the Telerik.Framework
The last suggestion is to build a regular pluggable module and implement your own Workflow logic.
I'm not quite sure which code you want us to attach. If it is related to the Workflow-enabled module, as we described you would have to create it yourself following the above directions. If it is related to hiding the Add Controls option, based on roles, please see the attached file. Let us know if this is not the case.
the Telerik team