Android:How to lock recovery and adb?

Android:How to lock recovery and adb?