Safety lock for protecting rear and side doors for utility vehicles