There should be a number of ways to get into a safe if you happen to forget the lock combination.
Some lockers come with traditional locks, which allows you to open those using keys. Furthermore, some even include Bluetooth connectivity, which allows you to open those using your smartphone.