The pin must be pushed in with force.Instead of the pin, an M4 screw can also be used.
The beer can cover without handle is here:
https://www.printables.com/cs/model/498048-can-cup-or-jar-lid-sliding
The author marked this model as their own original creation.