This application note describes how to create a coded lock system using the ST6-REALIZER development tool. The system uses the ST62 MCU's embedded EEPROM to store the secret code and only allows the door to be unlocked when the same access code is entered.