How can I protect a folder with password?

How can I protect a folder with password?