How to disable units or tech?


I want to disable certain units or entire tech like artillery or archery buldings.
What options in the ebps or elsewhere are necessary?

Thanks in advance

Add the third world population or nonexistent resource value to it

No option to disable certain Units in the buildmenu? I mean, we can moddify how the AI behaves, but not disable a unit? Strange…