hemlockiv Have you ever gotten a 2FA code via SMS? Do you know how Android has a button in that SMS notification that allows you to copy the code to clipboard without opening the notification?
Yes, I use that to copy codes to clipboard for my accounts which use SMS 2FA. However, my workflow means that my phone is always unlocked when I need to copy the code.
I have the contents of sensitive notifications hidden altogether on the lock screen, so I am not able to see the code at all normally. I temporarily enabled showing all notification content, which shows the code, and I can confirm that to copy the code, I need to unlock the phone.
In my opinion, that seems like a sensible security feature. I am not aware whether this functionality changed recently, or not. I am not aware of GrapheneOS making any changes to the way that the clipboard works from upstream AOSP, at least not since Android 10.