PHP and Javascript solutions to moderate challenge #153 - Locks
Linear Time: O(n)