First of all dedicated any long press button to show system apps.
(From Settings > Buttons)
After dedicating a button to show system apps when you long press the button you'll get the recent runnng apps.
When you drag th app in downward direction it'll lock the app and if you'll drag it upward that locked app will be unlocked.
See the snapshots atteched to get the better idea