People have always tried to protect themselves and their families, just like most animals do. In very early days, cavemen protected their caves by setting fires outside the opening to discourage interlopers and wild animals. Later on, man learned how to augment his security by training dogs to safeguard him and his family. Later still, houses and then doors were invented; bars and locks arrived soon after that.