ScreenOrientation lockAsync doesn't rotate screen on iOS

Please provide the following:

  1. SDK Version: 38
  2. Platforms(Android/iOS/web/all): iOS

We have an app that mostly works in Portrait mode, but we unlock the portrait mode while user uses custom built camera-view. When user exits the camera view we are setting orientation lock back to PORTRAIT_UP. In SDK version 36 this worked so that the view automatically rotated back to portrait without user having to rotate the device. (Which is what we’d want to happen.) But now with SDK 38 even though we set the lock the same way as before:
ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.PORTRAIT_UP)
on iOS this does not cause the view to rotate to portrait anymore. After user actually rotates the device, then the orientation remains locked portrait.

On Android this works as before; i.e. the screen rotates to portrait instantly as the lock is set to PORTRAIT_UP.

Is there any way to force iOS to actually follow the locked orientation at the same time the lock is set?