Folding legs with locking devices for ease of movement