Browser Lock - to cover up potential security issues

Why install a third-party extension like “Browser Lock” to cover up potential security issues and prevent anyone to access websites, without know stored id/password, to login?

Is it possible to implement this feature natively?

Thanks to the developers for their work.