I had a similar problem on my G5 when I first opened it ,I found that when I pushed the toolbox shut it bent the lock arm inwards and did not lock fully and the key could not be removed,I bent the arm slightly outwards and it locked fully,I've never opened it again as Ive never needed tools while out..Hope this helps.
John Hut