There are versions of Android with a built in drinking mode, you tell the phone you're going out drinking and it locks it from making calls unless you can complete a math problem (I think you can specify the difficulty and a set of specific contacts to block access from).