RotarySecure combines a 0.42-inch OLED with a push-button rotary encoder to make a compact combination-entry interface. Turning and pressing the control enters a configurable four-digit code, with the screen providing feedback.
A separate LOCK output reports the resulting state: HIGH when locked and LOW when unlocked. Another controller can use that signal to enable or disable a function. The surrounding project still needs to define how the lock state controls a physical mechanism or other function.