Simultaneous manipulation of multiple degrees of freedom of light lies at the heart of photonics. Nonlinear wavefront shaping offers an exceptional way to achieve this goal by converting incident light into beams of new frequencies with spatially varied phase, amplitude, and angular momenta. Nevertheless, the reconfigurable control over structured light fields for advanced multimode nonlinear photonics remains a grand challenge. Here, we propose the concept of nonlinear geometric phase in an emerging ferroelectric nematic fluid, of which the second-order nonlinear susceptibility carries spin-dependent nonlinearity phase. A case study with photopatterned q-plates demonstrates the generation of second-harmonic optical vortices with spin-locked topological charges by using cascaded linear and nonlinear optical spin-orbit interactions. Furthermore, we present the dynamic tunability of second-harmonic structured light through temperature, electric field, and twisted elastic force. The proposed strategy opens new avenues for reconfigurable nonlinear photonics, with potential applications in optical communications, quantum computing, high-resolution imaging, etc.