Perching birds have a tendon locking mechanism that helps them hold on to the perch when they are asleep