The dog sat in the yard because his owner had locked him outside?

A dog may be sitting in the yard after his owner locked him out because there is no where for him to go. He may also be sitting there because he is well trained