A device for managing animal traffic. The device is provided with a frame
(2), and comprises a gate (3, 4) that is movably connected with the frame
(2). There are provided operating means for opening and closing the gate
(3, 4), and control means for controlling the operating means (7, 8). The
device comprises a locking device (16) that is controllable by the
control means for mechanically locking the gate, in the closed position
of the gate, to the frame (2).