HELP

I am having problems with my rear latch, mine is open but the lock has turned so when I go to close it won't close properly which mines I can't lock my car ! Or drive it without tying it down...