where is lock/unlock handler?