The keys in the battlefield dungeons are randomly generated, and do not correspond to any locks in the main game. Any keys you still have after entering the next act you can discard.