Added correct status result for running or locked