A ‘selfie’ can now be used to protect phones and tablets