No place to turn the key around - another hack not done right

I was given a key to this door and got pinched immediately. There is just enough space to turn the key around and nothing more. The bottom lock is not in function. Just the top one is.