Drag, snap, and disable

Hi again. I was wondering how it would be possible to create an object that you could click on and drag once, but then make it so it couldn’t be dragged again.

Furthermore, if you can help me answer this question, I would be very appreciative. Is there anyway that the dragged object could be “snapped” to a slot in a grid? Thanks for the help.