The problem is as follows.
iPhone 14 Pro Max, installed iOS 18 beta 4.
After locking the screen, the brightness resets to the lowest value. This happens every time the phone is locked.
It doesn't matter if True Tone is enabled or not; the brightness automatically sets to the lowest level. Almost to zero.
Please fix this.