Adding FMD lock functionality to FMDWeb (WIP).