Letting the user define the expiration time that will prompt the lock screen