Barricade

object or structure that creates a barrier or obstacle to control, block passage or force the flow of traffic in a desired direction

A barricade is an improvised barrier that is used to direct traffic, block passage, defend a small area, etc. Barricades differ from fortifications, fences and walls in that they are temporary.