Added missing check to buffer lock creation
Added missing check to buffer lock creation

marshall/libcsp,kubostech/KubOS,pacheco017/libcsp,pacheco017/libcsp,Psykar/kubos,GomSpace/libcsp,kubostech/KubOS,GomSpace/libcsp,libcsp/libcsp,GomSpace/libcsp,Psykar/kubos,libcsp/libcsp,marshall/libcsp,pacheco017/libcsp,Psykar/kubos,Psykar/kubos,Psykar/kubos,pacheco017/libcsp,satlab/libcsp,marshall/libcsp,Psykar/kubos,satlab/libcsp,satlab/libcsp,Psykar/kubos