I have not read Lock-In, but the synopsis sounds similar to Recursion by Blake Crouch
Project Project Hail Mary by Andy Weir has some mystery, at least for a while while the character tries to figure out what's going on.
If you're okay with a horror element, Dead Silence by SA Barnes. Astronauts are trying to figure out what happened on a space ship that seems to drive everyone insane