Dual-locked spectroscopic probes for sensing and therapy