Employee was dismounting dozer after positioning the equipment for maintenance. Upon dismounting he raised the lid of the battery box to gain access for required task. In traveling down, he placed his hand on edge of battery box, the locking spring mechanism, which was supposed to hold lid open failed catching employee's hand. Resulting in a laceration to hand, needing 3 sutures.