I allow them to play with it for a little, and then I put them in a safe place I know the kids can't get at them.
If I leave them on my desk, I know they will get it...so I don't leave them on the desk.
If a 12-year old is swallowing these things, there is something else going on in that household that needs to be addressed.