Simply create a button, image or link with an onclickevent like this:
Try it by clicking the button below:
Lightbox close from button.