That happened to me. But it has only happened to me when I came back to a place I had already been (and couldn't pick the lock because I didn't have a high enough lock picking skill)
I ended up leaving the building I was at, manually saved the game, and then restarted my PS3 and I didn't have the problem again.