TS Lock implemented