Add system option to disable lock profiling

Disable lock profiling to test for overhead.

(cherry picked from commit 26a6427c4459980f1fccfa1e82247ad3a378afd3)

Bug: 133257467
Test: build
Merged-In: Ida5f83e626c82266de69b13dc2def0477cc87b0f
Change-Id: Ida5f83e626c82266de69b13dc2def0477cc87b0f
1 file changed