remove csync_lock

It is not used anymore for a long time