A dual-mode lock for a locker has a base, a knob, a key lock assembly, a housing and a combination lock assembly. The base is mounted through the locker. The knob is attached to the base. The key lock assembly is mounted in the knob, and has a lock core mounted rotatably through the base and having a latch for locking the locker. The housing is attached to the base and has a combination mount. The combination lock assembly is mounted in the combination mount to selectively lock or allow the lock core to rotate. Therefore, if a combination is forgotten or lost, the dual-mode lock may be opened quickly with a corresponding key and the combination reset reducing building management stress and preventing replacement costs.