Locking devices for plant safety