The present invention relates to a lock for a portable wireless device (4) designed to be in contact with an accepting device (3) having fixing means (20) for fixing the portable device (4) to the accepting device (3). The lock of the invention comprises an electromechanical system (48) for unlocking the fixing means (20) using an electrical signal (44). The electrical signal (44) is inhibited by a command (45) supplied by a software unit (1). The invention is particularly used as a lock for a portable wireless X-ray sensor (4) for use with an accepting station (3).La présente invention concerne un dispositif antivol pour un équipement portable sans fil (4) prévu pour être en contact avec un équipement daccueil (3) comportant des moyens de fixation (20) de léquipement portable (4) sur léquipement daccueil (3). Le dispositif antivol selon linvention comporte un système électromécanique (48) commandant le déblocage des moyens de fixation (20) à partir dun signal électrique (44). Le signal électrique (44) est mis en état inhibé par une commande (45) fournie par une unité logicielle (1). Linvention est notamment utilisée comme antivol pour un capteur de rayons X portable (4) et sans fil associé à une station daccueil (3).