modules_k/pua: added some missing lock releases (backport)