We meet BlueProximity - a small application that monitors a bluetooth device (mobile phone for example), and, with a significant removal of this device, locks the desktop (or performs any other action of your choice). The address of the project at sourceforge. Discussion on ubuntuforums Ps: Definitely a solution is by no means universal and controversial, but I think it will find a niche for use.