Mechanical and Electronic Key Control