[yast-devel] Switch to new locks api