In order to open the door, you need to use two keys. If you found only one of them, you can use it on both doors. Try to restart the level and find both keys. If you encounter difficulties on any level, you can use the Hint option. To do this, click the Hint button on the upper right side of the screen. The game will automatically indicate what you should do next.