ipc_test: correct comment and remove unused extern variable
Add syscalls lock_create(), lock_aquire() and lock_release()