Bluetooth Device to Lock & Unlock Mac

When a Bluetooth device comes in range of your Mac, the computer can unlock without user interaction by the Lifehacker guide. Also added tag is that it locks the system when the Bluetooth range is out. We do not require any app or special Bluetooth device as such to operate that.