Got a hint from another forum.
It's embarrassingly simple:
Just tap on the app icon in switcher panel -> pop up menu -> select the lock icon
In Android 10 (MIUI12), there is a switch to prevent apps from being manually killed from inside the switcher panel.
When clicking kill all (X)...