This feature is only available within Android 5.0, however, and the pool of devices running Lollipop at the moment is pretty much limited to the Nexus line.
"Be aware that location signals can be replicated or manipulated — someone with access to specialised equipment could unlock your device."