Merge "hwc2: add locks for callback functions" into rvc-dev am: fbed8adaff am: f04cf61a55 am: 6df31d5a42

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/sdm845/display/+/11837781

Change-Id: I0da0a78b074ff66a47542561dd4820bb597fd58a