people can lived in castles for protection