It prevents small fingers from entering the sockets and creating danger.
It is attached to the socket socket thanks to its adhesive and when it is desired to be used, the plug gears are installed by turning them to match the holes.
When the socket is not used, the spring inside ensures that the socket holes are kept closed.