In France and some other European countries terrorist suspects are electronically tagged. Still won't prevent an Islamist terrorist running over people and/or going on a rampage with a knife.

Long-term solution is for Islam to be subject to questions and criticism the way Christianity has been in the West for centuries...since the Enlightenment.