Why did God post an armed angel to guard the Garden of Eden, when he could have just used his omnipotence to do it?

Couldn't God have just prevented anyone from entering, with having to resort to posting a guard? That is how humans guard things.. An omnipotent God would not have had to resort to such a primitive way of preventing anyone from entering.
11 answers 11