oppo coloros – How to stop access to the notification bar and the camera when the phone is locked?

I have Realme2Pro. The phone number of your OPPO with ColorOS 5.2.

When the phone is locked, I want to stop access to the notification bar and the camera.
I've gone through the link.

How to lock the camera and volume control when the phone is locked

It was not more informative. Is it possible without unlocking the boot loader or without rooting it?

If so, let me know, how to do it?

regards
TekQ