Prevents a user from locking an issue indefinitely.

Previously, Stats gave users the right to lock issues indefinitely with
no expiration. This commit fixes that by settings a timer on each lock,
if the user takes more time than the one set in settings.CONFIG, his
page will refresh and unlock the issue for others to edit.