Keyframe it. Don't bother with a hinge constraint unless your animal will push the lid open with a dynamic simulation, which would require both the lid and the animal being rigid bodies.