"set to" refers to a simple action of "setting" e.g. "The switch was set to the off position."
"set to be " implies that possibly extra information is available e.g. "The switch was set to be in the off position for reasons of safety."
Student or Learner