Yes, you can set your Android phone to automatically unlock at trusted places and thereby save your time from the hassle of putting your password or passcode everywhere. The phones GPS sensor makes this possible.
The 'smart lock' feature can be activated from security option in setting menu. The facility is available for Android 5.0 and above, but Android 4.4.4 Kitkat users can install smart lock facility through play store. The smart lock feature actually bypasses your password or passcode at trusted places like your home, office etc.