Android 5.0.2 hide navigation bar on Lenovo Tab 2 A8-50
The first thing you do literally disables SystemUI, including lock screen, status bar and navigation bar, hence you get black screen on reboot. Whoever told you to do that... deal with him.

Simply use the old build.prop trick (qemu.hw.mainkeys=1) or apps like GMD Hide Soft Keys.