An entropy-regulating molecular lock stabilizes formamidinium lead halide perovskite | Synapse