A locking system is described. The locking system, includes a lock. The lock includes a semi-hard magnet and a hard magnet. The hard magnet is configured to move to open or close the lock, the lock is self-powered using near field communication (NFC), and the lock is digitally controlled using a mobile application.