fixing atoms in gulp

Hi,

I'm trying to use the GULP module for doing MD with a molecule above a surface. I only want to allow the molecule or say molecule+few of top layer atoms of the slab to move during the dynamics and rest of the atoms should be fixed to initial setup positions. How can i do this?

Thanks.