Hi Tomomi,
There are two ways to do this. Note that the lightbox instructions vary between JavaScript libraries/plug-ins/extensions/custom JS but the popular ones are well-documented.
1. The easiest way is to use the content modification extension to do this. Set the conditions (i.e. what determines whether or not this pop-in, probably specific values for the 3 parameters you listed), modification rules (i.e. ID to target and positioning relative to this ID), and in the "Content" box you'd write the HTML you want to display. This box does not support JavaScript, HTML only. If you're looking to do a lightbox, whatever you choose to use would have to be able to listen for DOM element propagation since this extension inserts the new content at DOM ready.
2. You'd have to use the JavaScript code extension and code everything manually, setting conditional logic based on those query string parameters. While not as user friendly, this gives you more flexibility and will probably be easier to integrate with those JavaScript lightboxes.
Hope this helps!