Digital Lock for Metal Gate