Simple lock system preventing application from being run more than once at a time