A device for locking a bone fastening or fixation mechanism in a receiving member of a medical implant. The locking mechanism is kept in place (both in its locked and unlocked positions) using a retaining mechanism. The retaining mechanism also provides predetermined locked and unlocked positions that are readily moved to by the practitioner and maintained in position once placed there.