Mechanical catch usually springs, balls, and latches are used to hold the doors in place.
Magnetic catch: This type of fastener uses ordinary magnets to hold the door. The holding force depends on the type and size of the magnet used.
Electromagnetic catch: This type of fastener uses electricity to control or release the catch.