Boolean not working after timeline

I need it to be able to open both doors, because i dont know which way the player goes first to get the key. If the player goes to the right side and it opens the second door. The player wont be rewarded with the door opening, if that makes sense. The have to run to the left side to get the key for the first door. After that the player can open both doors.