Yes. Two very small neodymium magnets glued (or not) on the black lock.Works perfectly. You might even want to try one, two makes it a bit hard to open.