a lock is a mechanical or electronic fastening device that is released by a physical object such as a key keycard fingerprint rfid card security token coin etc by supplying secret information such as a keycode or password or by a combination thereof