As a matter of interest, how do gear lock pins work?
Do they operate an electric switch; preventing fluid flow? Do they operate an hydraulic valve; preventing fluid flow? Do they prevent movement of a side stay, which in turn prevents hydraulic pressure being applied to the main jacks?* Or do they physically withstand the full force of 3000psi hydraulic pressure?
*Airbus A320 main gear locks consist of a sleeve which prevents retraction of a side-stay ram. So they must withstand full hydraulic force. The nose gear is a pin, if I recall.