Prevent a process from being killed by any user mode means

Solution 1:

On macOS it is not possible to create processes which can‘t be killed by a user who is able to sudo. So the short and simple answer to your question is NO.