lib/Github/Api/Issue.php
public function lock($username, $repository, $id)
    {
        return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($id).'/lock');
    }
public function lock($username, $repository, $id)
    {
        return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($id).'/lock');
    }
public function lock ( $ username , $ repository , $ id ) { return $ this -> put ( '/repos/' . rawurlencode ( $ username ) . '/' . rawurlencode ( $ repository ) . '/issues/' . rawurlencode ( $ id ) . '/lock' ) ; }
Lock an issue. Users with push access can lock an issue's conversation.

@link https://developer.github.com/v3/issues/#lock-an-issue

@param string $username
@param string $repository
@param int    $id

@return string
Lock an issue . Users with push access can lock an issue s conversation .