lock on open syscall