BtProx Locks Your Workstation with Your Cell Phone
Windows only: Free, open source application BtProx locks your Windows computer whenever your cell phone or other Bluetooth device is out of range. Similar to previously mentioned Blue Lock, BtProx includes a more advanced feature set, allowing you to set a timeout before it locks your PC and run a program when your device is out of range.
Link here.