Samsung security flaw, disable the lock screen

I have discovered another security flaw in Samsung Android phones. It is possible to completely disable the lock screen and get access to any app - even when the phone is “securely” locked with a pattern, PIN, password, or face detection.

Isn't it a security flaw in itself that you can disable the lock screen from any application? Putting aside that there's a UI glitch allowing momentary access to the home screen; being able to override a system security setting from a 3rd-party application with or without user permission is pretty awful.