DPI and upsizing

Hi all,
I'm hoping to be printing my first panorama soon.
Getting it ready for print, I notice that it's currently at 240pixels.
Am I able to up that to 300DPI without any harm? I notice that the lab are happy with anything more than 240DPI but I noticed that when I changed the image from 240 to 300 it (naturally) increased the image size. I hope my question makes sense.
I'm hoping to be printing my first panorama soon.
Getting it ready for print, I notice that it's currently at 240pixels.
Am I able to up that to 300DPI without any harm? I notice that the lab are happy with anything more than 240DPI but I noticed that when I changed the image from 240 to 300 it (naturally) increased the image size. I hope my question makes sense.