Bypassing a locked root account in RHEL10 is different than RHEL7/8/9 because rd.break no longer works; init=/bin/bash must be used. Moreover, even with enforcing=0 included, the system will break unless sudo restorecon -vZ /etc/shadow is also run from the chroot after any passwd edit to root.