Here is a modified and improved electronic lock design. For Arduino version click here.It is largely based on Digital Lock article, however this time a real electronic lock was used instead of a solenoid. The code is a 4 digit number and is stored in PIC16F876A
I don’t know the manufacturer of the lock the only marking available is its voltage rating between 6-12V .This lock requires about 300mA to properly open as was measured at 12V supply voltage. Enter correct code, default is 1-2-3-4 and the lock will open for about 4 sec, you can increase this time by adding additional delay, see attached assembly code at this link.
Here you can see a short video showing electronic lock prototype design operation.