initial protocol lock xlator code

Signed-off-by: Anand Subramanian <anands@redhat.com>