This isn't really a trick, it's just a cool way to close your lighter:
Open your lighter, then place your thumb on the body of the lighter the side opposite the hinge and place your first finger on the open cap, as shown in the picture. Next slide your finger down the cap and onto the body. This should produce enough force to flip the cap closed and also produce a good trick. This trick usually only works with lighter which have been used a lot and the cap is a bit loose.