Laws of Robotics
from Fancyclopedia 2 ca. 1959
One of the real inventions in the field of stfantasy. The laws worked out by Isaac Asimov in his US Robots and Mechanical Men (aka Positronic Robots, and Susan Calvin) Series declare

1. a robot may not harm nor allow to be harmed any human;
2. a robot must obey all orders given it by authority unless they conflict with 1.;
3. a robot must preserve its existence except when this would conflict with 1. or 2.

Others have also developed the idea, if not in just this form then at least as a definite set of built-in laws of robotic behavior whose consequences are fictionally explored.

from Fancyclopedia 2 Supplement ca. 1960:
These were actually suggested by Campbell, Asimov having merely suggested that they existed.

According to Asimov, he did not originate the Laws, but was given them by Campbell who said: "Go and write stories based on this!".