Yes it can be trained to open to various positions
As mentioned the solution is in the manual.
The other button with the lock has various confusing functions that I will never touch it again.
FYI if your back window is down, the trunk will not open. It’ll unlatch and move a few inches then beep at you and stop. No idea why it’s a thing, but it is.