Algorithm Based Lock Screen