GOFRIS is an open source application that can be used for locking your Home folder. It's like Deep Freeze in Windows environment. GOFRIS is recommended for public computers. When GOFRIS is enabled in your system, any changes made in your Home folder will be deleted after restarting. So, use GOFRIS carefully.

Note:- This application is still in development so this might break your system