My favorite 'modern' solution to the locked room was, spoilers!, that the door with a large handle to the room appeared locked at the time of the crime because the murderer was using a small hologram to make it appear locked from afar.
In fact, there's a huge literature genre in Japanese fiction: Honkaku, reanimated in the 90s as Shin-Honkaku. Do yourself a pleasure and go read Edogawa Rampo.
Not a murder, but this is essentially the resolution of a Spike Lee movie. (no name - no spoiler)
Maybe the soon-to-be murderer just lifted the ceiling with a crane, killed the victim (thus becoming the murderer) and put the ceiling back in its place?
- Similar but just prevents the victim coming out long enough for them to die of thirst.
- Murderer comes in with heavy machinery and breaks down the whole building except for the locked room, then lifts the locked room and drops it off a cliff.
Slow-acting poison seems easily the most obvious way to do it. I would hope every locked-room investigation quickly rules this out.
> - The murderer was in the room when the murder happened, but locked the door behind themselves. (This one doesn't really work because the door is presumably of a kind that can't be locked behind you, or else no one would be surprised. Good to double-check, though, that you're sure the door couldn't have been locked behind someone leaving.)
The clever trick might be in how the murderer managed to lock the door behind them. Using a magnet to shift the bolt, perhaps? (I'm sure this option must have been explored very early on in the locked-room genre.)
- The room doesn't even need to be completely locked, people just need to think that it was
I'd probably rather just do a retrievable abseil to ground level to minimise risk. However I feel like we're subverting the meaning of "locked room" if it has unlocked egress points. ie ground floor window, or fire escape outside high window etc.
That's gonna be pretty obvious.
- Are the windows locked? Otherwise it's a rock climber who can climb the side of the building. Some buildings are not that difficult to climb for a good climber.
- The murderer was not in the room when the murder happened. Poison or a trap of some sort. (Kinda boring.)
- The murderer was in the room when the murder happened, but locked the door behind themselves. (This one doesn't really work because the door is presumably of a kind that can't be locked behind you, or else no one would be surprised. Good to double-check, though, that you're sure the door couldn't have been locked behind someone leaving.)
- The murderer was in the room when the attack happened. The murderer attacks, then the murderer leaves, then the victim locks the door, then the victim finishes dying. This isn't as far-fetched as it sounds: if someone nearly kills me and then leaves but it seems like there's a chance they might come back, hell yeah I'm going to lock the door, possibly even before calling for help.
- The murderer is a carpenter. They locked the door, pocketed the key, put the door back into the previously empty door frame, then left. (This is a bit far fetched if the victim was found soon after death; door frames are a lot of work.)
- The murderer is still inside the room, very well hidden. Say, inside the sofa where the stuffing should be, waiting very quietly until the investigation is over so they can leave.