I recently did some testing, and you can access objects through locked doors.
A GIF I took the liberty of recording, showcases this. When repeatedly spamming opening the doors, there's a period of the time when the door stays open, allowing all objects reachable to be interacted with. Although the door is open, the player cannot enter.
This is the GIF link: https://imgur.com/zdpseWi