Biologically derived metal-organic frameworks (bio-MOFs) are of great importance as they can be used as models for bio-mimicking and in catalysis, allowing us to gain insights into how large biological molecules function. Through rational design, here we report the synthesis of a novel bio-MOF featuring unobstructed Watson-Crick faces of adenine (Ade) pointing towards the MOF cavities. We show, through a combined experimental and computational approach, that thymine (Thy) molecules diffuse through the pores of the MOF and become base-paired with Ade. The Ade-Thy pair binding at 40-45% loading reveals that Thy molecules are packed within the channels in a way that fulfill both the Woodward-Hoffmann and Schmidt rules, and upon UV irradiation, Thy molecules dimerize into Thy<>Thy. This study highlights the utility of accessible functional groups within the pores of MOFs, and their ability to 'lock' molecules in specific positions that can be subsequently dimerized upon light irradiation, extending the use of MOFs as nanoreactors for the synthesis of molecules that are otherwise challenging to isolate.