I need this to create a physical locking mechanism. So a simple example would be when the device is rotated to 0 degrees then the machine is unlocked physically, when the device is rotated to 90 degrees then the machine is locked. Id like it to be able to switch between the two pretty quickly. Also what I'm building needs the device to be pretty small and mobile. The smaller the better but I'll take what I can get.