Dog walking

If I start taking my dog on walks will he then think it’s okay to leave the yard on his own?