Revert back securelevels and fix lock issues with sysctl

I think there might be some use or securelevels still.

sysctl was not working due to PROC_LOCK was not used and it was
previously enforced when proces info structs are read.