Portcullis

a heavy grille, usually made of strong wood or metal, that slides down to block the entrance into fortifications of a castle or town