Bluetooth could do this. Bluetooth proximity locks are available for computers, though I've not heard of one being used for doors. I suspect the Bluetooth "signature" (whatever it is) could be easily sniffed if someone knew about the lock, but it'd still be pretty cool.