Answer :
the answer is B. it is a command since it is telling someone to do something
B is a command , when giving a command you are asking or telling to" in this case she/he is asking , "Please lock the door when you leave."
also because you are telling someone to do something.
i hope this helps
also because you are telling someone to do something.
i hope this helps