ご質問ありがとうございます。
・「I'm going to lock the door.」「I will lock the door.」
=鍵を閉めます。
(例文)I'm going to lock the door at 9.
(訳)私は9時に鍵を閉めます。
(例文)I will lock the door at 10 so don't forget your keys!
(訳)私は10時に鍵を閉めるので鍵を忘れないようにね!
お役に立てれば嬉しいです。
Coco
・I’m going to lock the door.
(ドアに鍵をかけるからね。)
未来の予定を言うので
be going to が自然です。
門限を守らない相手に言うなら:
・If you’re late again, I’m locking the door.
(また遅く帰ってきたら、ドアに鍵かけるからね。)
if を使うと
「〜したら」という条件になります。