In this project, a #RaspberryPi Pico is being used to make a 4-digit combination lock, although any other #microcontroller can also be used. A #steppermotor is being used as a rotary encoder, which is used to take all the user inputs, such as changing the number and entering the code.