No, the lock works correctly, but after opening it, it doesn't let me open the lid.
The cursor doesn't even appeared to let me know there is some interactable.
I managed to make it work a second time and complete the game, but I had to restart the game quite a few more times.