you can disable it in menu

go to settings>security>locks>phone protection>protection>confidentiality> then select which you want