Generally when we've seen this issue on an iPhone, it's been because the person forgot to take out the pentalobe screws first; otherwise the glue Apple uses seems to do a good job holding the parts together, so if you haven't removed them yet, that's the very next thing to do before going any further.
I agree with your diagnosis that it appears the LCD is coming off its frame. At this point you've got two options to continue; you can go ahead and proceed with taking the LCD off first, then go back around and remove the frame. If you do this the front sensors will stay on the phone rather than coming off with the screen like normal.
The second way to do it is to go back to the bottom of the phone and insert an opening tool between the screen frame and the phone frame and separate it, then continue on around getting the frame up. Once you've gone all the way around then you can hold the screen and frame together and take them off as one part.
Either way should work, although I would lean toward the second method in hopes it will be a little safer in terms of avoiding damage to the sensors. Whichever one you choose, you'll obviously have to purchase some glue to reglue the frame back onto the screen so you can reassemble it once you're done.
With care you should be able to get it apart without damage, so take your time and use a blow dryer or heat gun to soften the adhesive on the frame as you remove it.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1