Arrest as a preventative measure?

Yes, arrest is used as a preventive measure. Criminals, thieves and robbers are usually arrested so that they do not cause problems to the public.