Add old lockAnimationClock(long) back

Add old lockAnimationClock(long) back because of a CTS tests failure
issue. Might be related to Trunk Stable, The CL is created to resolve
the inconsistency between git_main/git_24Q1-release and aosp/android14-tests-dev. For more details, see - https://buganizer.corp.google.com/issues/307888459#comment57

Bug: 307888459
Test: atest AnimationUtilsTest / ChoreographerTest
Change-Id: Ie7a1f898651d2da040ffaa3f6a0c833b2a8ca2e0
2 files changed