In a recent update of Google Play services to version 6.5 Google has added a new feature called Trusted Places, after already having a trusted face and trusted device option. The new feature allows you to add a location, if your phone is in the area your phone will remain unlocked and you won’t need to enter the passcode or combination.
In order to get this new feature you will have to upgrade GPS to 6.5 if you haven’t already. You can do this by downloading the com.google.android.gms-6.5.85_(1589008-438)-6585438-minAPI21.apk and manually install it on your device. Keep in mind that you are required to run Android 5.0 or above in order to be able to install it, once installed we can start to configure Google Play trusted Places
Once installed, open up the app and head over to “Smart Lock” and the new option called “Trusted Places” should appear. Google will automatically select any locations you might have saved in Google Maps but by hitting the “Add Trusted Place” button you will be able to add a custom location. Using the search bar or by dropping a pin on the map you will be able to created a Trusted Location.