Benzo Rom for the Nexus 6 running 5.1.1 Lollipop allows the ability to toggle a secure lock screen from the quick settings in the notification drawer. For example, from the launcher, I can pull down the notification drawer to access the quick settings panel and tap the lock screen option and it will automatically engage the lock screen even if there was a password/pattern/gesture/pin, etc. previously setup. If I tap it again, it will remove the secure lock screen.
My concern is that this feature was built into the custom ROM itself and I don't know an alternate solution to this. Is there any solution to achieve this?
I was hoping for a solution that was not related to Tasker or Secure Settings. Something that's more clean and integrated.