Use Smart Lock as an alternative way to unlock your phone, in the event you forget your password, PIN, or pattern.  Set Smart Lock to unlock your phone when the phone recognizes your face or voice. 
You can also set it to keep your phone unlocked in certain situations, such as when the phone is with you and you're in a trusted location. 
 
   
 
	 -  
		  From the 
				Home screen, tap 
				. 
			  
		
 
-  
		  Tap 
			 , and then select and set up a screen lock. 
		   
		   
			 
This will be your alternate screen lock method. 
			 
 
		   
		 
-  
		  On the 
			 Security screen, tap 
			 Smart Lock. 
		   
		
 
-  
		  Confirm your screen lock. 
		   
		
 
-  
		  Choose whether to unlock your phone through voice or facial recognition, or keep the phone unlocked when:  
		
- You're carrying the phone
 
- You're in a trusted location such as within your home Wi-Fi network
 
- The phone is connected to a trusted device such as your own Bluetooth device
 
 
-  
		  Follow the onscreen instructions, and then press 
 to return to the Security screen. 
		 
-  
		  On  the Security screen, tap 
			 , then specify the idle time before the screen is locked. 
		   
		
 
 
	 To help make Smart Lock more reliable and more secure when using facial recognition, you can train 
		
HTC U Ultra to recognize your face in different situations, such as when you're wearing glasses or sporting a beard. 
		
Tap 
		  Smart Lock, confirm your screen lock, then tap 
		  . Follow the onscreen instructions.