只要推门就好了。它自己会锁上的。

Just pull the door shut. It'll lock by itself.

Source: Tatoeba

Sentence Composition

1 只要 zhǐyào so long as; provided; if
2 tuī
  1. to push
  2. to cut
  3. to refuse
  4. to reject
  5. to decline
  6. to shirk (responsibility)
  7. to put off
  8. to delay
  9. to push forward
  10. to nominate
  11. to elect
  12. massage
=3 Mén surname Men
=3 mén
  1. gate
  2. door
  3. gateway
  4. doorway
  5. opening
  6. valve
  7. switch
  8. way to do something
  9. knack
  10. family
  11. house
  12. (religious) sect
  13. school (of thought)
  14. class
  15. category
  16. phylum or division (taxonomy)
  17. classifier for large guns
  18. classifier for lessons, subjects, branches of technology
  19. (suffix) -gate (i.e. scandal; derived from Watergate)

classifiers: ,

4 jiù
  1. (after a suppositional clause) in that case; then
  2. (after a clause of action) as soon as; immediately after
  3. (same as 就是 jiùshì) merely; nothing else but; simply; just; precisely; exactly
  4. only; as little as
  5. as much as; as many as
  6. to approach; to move towards
  7. to undertake; to engage in
  8. (often followed by zhe) taking advantage of
  9. (of food) to go with
  10. with regard to; concerning
  11. (pattern: jiù ... ...) even if ... still ...
  12. (pattern: ... jiù ...) if not ... then must be ...
5 好了 hǎole
  1. (often doubled) okay; all right; that's enough, that'll do
  2. okay; all right; that's enough, that'll do
=6 it
=6 it (pronoun for an animal)
=6 tuō
  1. alternative form of / (tuó)
  2. used in 它它藉藉它它借借
=6 only used in 它它
7 自己
  1. oneself
  2. one's own
=8 huì
  1. can; to have the skill; to know how to
  2. to be likely to; to be sure to
  3. to meet; to get together
  4. meeting; gathering
  5. (suffix) union; group; association
  6. (bound form) a moment (Taiwan pr. huǐ)
=8 kuài (bound form) to reckon accounts
9 锁上 suǒshàng
  1. to lock
  2. to lock up
=10 de
  1. of; ~'s (possessive particle)
  2. (used after an attribute when it modifies a noun)
  3. (used at the end of a declarative sentence for emphasis)
  4. (used after a noun, verb or adjective to form a nominal expression, as in 皮革的 de "one made of leather" or 跑堂儿的 pǎotángrde "a waiter (literally, one who runs back and forth in a restaurant)" or 新的 xīnde "new one")
  5. also pr. or di in poetry and songs
=10 a taxi; a cab (abbr. for 的士 shì)
=10 really and truly
=10 (bound form) bull's-eye; target