Anyone who has access to the admin CP is a restricted admin, not a restricted moderator. Only trusted users should be given access to the admin CP. Anyone with access to the members section in the admin CP can indeed ban any members, including other admin
Essentially, you are asking how to prevent people who you have given access to your safe, how to prevent them taking your money. The answer is, dont give them access to your safe.