Walls can be metaphorically used a barrier, it can be a sign of closure from things or situations behind the wall. It could also view as if the wall is blocking you from somewhere and is in your way. In summary, walls can either block you and get in your way or protect you from unwanted things.