一下子 could also mean with just one try, in one go
他一下子就把瓶盖打开了
He opened the lid of bottle with just one try.
他一下子就讲明白了。
He explained this hard point clearly very soon.
一下子 means you successfully do something without much effort , or very fast, or very easily, while most other people need to try very hard but they are still hardly able to work it out.