Patent attributes
A method, computer system, and a computer program product for managing a plurality of electronic devices controlling access to one or more hazards in a physical environment. The present invention may include detecting a plurality of brain-wave patterns associated with a user. The present invention may then, in response to detecting motion of the user and the plurality of brain-wave patterns associated with the user matching a pattern, include operating at least one electronic device to disable access to a corresponding hazard. The present invention may further include operating the at least one electronic device to enable access to the corresponding hazard based on receiving input from the user to enable the at least one electronic device, wherein the input being received from the user is in response to prompting the user to correctly respond to a question previously answered by the user.