A latch pin assembly for an aircraft having a hydraulic fluid source, the latch pin assembly comprising: a piston including a piston head; a latch pin enclosing the piston head and defining an inner chamber, the piston head separating the inner chamber into an extend chamber and a retract chamber, the latch pin including a latch surface; a latching hydraulic line adapted to fluidly communicate between the extend chamber and the hydraulic fluid source; an unlatching hydraulic line adapted to fluidly communicate between the retract chamber and the hydraulic fluid source; a first lock comprising a lock cam movable between a lock position, in which the lock cam engages the latch surface of the latch pin, and an unlock position, in which the lock cam is disengaged from the latch surface of the latch pin; the first lock further comprising a first lock actuator mechanically coupled to the lock cam and configured to provide a bias force pushing the lock cam toward the lock position; an unlocking actuator operably coupled to the lock cam and configured to provide an unlock force counteracting the bias force of the first lock actuator; wherein the unlocking actuator comprises a hydraulic actuator, and the latch pin assembly further includes an unlocking hydraulic line adapted to fluidly communicate between the hydraulic actuator and the hydraulic fluid source, wherein the latch pin assembly further comprises a second lock including a hydraulic lock disposed in the latching hydraulic line and having an initial state, in which fluid flow through the latching hydraulic line is blocked, and an open state, in which fluid flow through the latching hydraulic line is permitted, and wherein the latch pin assembly further comprises a sequencing valve mechanically coupled to the hydraulic actuator and fluidly coupled to the hydraulic lock by a pilot line, the sequencing valve being movable between a blocking state when the hydraulic actuator is in the normal position to prevent fluid flow through the pilot line, and a free state when the hydraulic actuator is in the actuated position to permit fluid flow through the pilot line. a piston including a piston head; a latch pin enclosing the piston head and defining an inner chamber, the piston head separating the inner chamber into an extend chamber and a retract chamber, the latch pin including a latch surface; a latching hydraulic line adapted to fluidly communicate between the extend chamber and the hydraulic fluid source; an unlatching hydraulic line adapted to fluidly communicate between the retract chamber and the hydraulic fluid source; a first lock comprising a lock cam movable between a lock position, in which the lock cam engages the latch surface of the latch pin, and an unlock position, in which the lock cam is disengaged from the latch surface of the latch pin; the first lock further comprising a first lock actuator mechanically coupled to the lock cam and configured to provide a bias force pushing the lock cam toward the lock position; an unlocking actuator operably coupled to the lock cam and configured to provide an unlock force counteracting the bias force of the first lock actuator; wherein the unlocking actuator comprises a hydraulic actuator, and the latch pin assembly further includes an unlocking hydraulic line adapted to fluidly communicate between the hydraulic actuator and the hydraulic fluid source, wherein the latch pin assembly further comprises a second lock including a hydraulic lock disposed in the latching hydraulic line and having an initial state, in which fluid flow through the latching hydraulic line is blocked, and an open state, in which fluid flow through the latching hydraulic line is permitted, and wherein the latch pin assembly further comprises a sequencing valve mechanically coupled to the hydraulic actuator and fluidly coupled to the hydraulic lock by a pilot line, the sequencing valve being movable between a blocking state when the hydraulic actuator is in the normal position to prevent fluid flow through the pilot line, and a free state when the hydraulic actuator is in the actuated position to permit fluid flow through the pilot line.