Lock and ping by IP if possible