We show, by means of low-energy muon-spin rotation measurements, that few-unit-cells thick La(2)CuO(4) layers synthesized digitally by molecular beam epitaxy are antiferromagnetically ordered. Below a thickness of about 5 CuO(2) layers the long-range ordered state breaks down, and a magnetic state appears with enhanced quantum fluctuations and a reduced spin stiffness. This magnetic state can exist in close proximity (few Å) to high-temperature superconducting layers, without transmitting supercurrents.