Code Lock example - Feel free to comment

Hi, you see me buffled! Feel free to use the whole thing in any way you want, if you think it’s worth it, it’s all yours - and adding it to official examples … I simply can’t say … maybe there are some serious flaws in the logic. As I said, I am new to all of this. Thanks anyway.