Setting a partition as "unbootable" from userspace

I know there is a way to reset a partition to “normal” from userspace, but our use case is the opposite: we want to set a partition as unbootable from user space (we can’t do it in UEFI). Is there a way to do so?

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Why need set to unbootable?