add lock socket (untested till now)