You can use software such as "ioncube" or "source guardian" to protect your codes in the ProcessMaker and provide it to customers, as well as setting a time limit or ip limit.
I tested "source guardian" software and it had better speed and performance in using the processmaker program.
Also, to protect the triggers, because the coding is done on the software, it is not possible to encode with these software as usual, but you can write your codes either in the form of a plugin and call the functions inside the triggers, or write your codes in Php class and enter it as a general file in the process and call it in your triggers.
In this case, you can also code the trigger codes with the above software.