Does this device to restrict access to roads have a generic name?
Rising bollard / retractable bollard:
Retractable or "rising" bollards can be lowered entirely below the road surface (generally using an electric or hydraulic mechanism) to enable traffic to pass, or raised to block traffic. Rising bollards are used to secure sensitive areas from attack, or to enforce traffic rules that are time related or restrict access to particular classes of traffic.