jiggled
To jiggle something is to shake it up and move it around. When you jiggle a door handle, you're trying to make sure that it's locked.
The door was jiggling and wouldn't stay closed.
The jiggling of the bars made it difficult for him to sleep.